Skip to content
Browse files

Merge pull request #97 from TuTu/patch-1

[contrib] List: doc typo in lib/stdlib/core/list.opa
  • Loading branch information...
2 parents c50133c + 0f14e2b commit fa07b3d442b74739ac18812383de5b610a9bd91d @Aqua-Ye Aqua-Ye committed Mar 16, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/stdlib/core/list.opa
  2. +1 −1 lib/stdlib/core/web/resource/resource.opa
View
2 lib/stdlib/core/list.opa
@@ -432,7 +432,7 @@ List = {{
* @param f A function invoked at each element of the
* list to update the data.
* @param l The list to visit.
- * @param The initial data. If the list is empty, this
+ * @param init The initial data. If the list is empty, this
* will also be the result.
*/
fold(f:'item, 'acc -> 'acc, l: list('item), init:'acc ): 'acc =
View
2 lib/stdlib/core/web/resource/resource.opa
@@ -759,6 +759,6 @@ html(title:string, body:xhtml) = Resource.page(title:string, body: xhtml)
/**
* Combine two chunks of xhtml.
*
- * [a <+> b] is the same thing as <>{a}{b}</>
+ * [a <+> b] is the same thing as [<>{a}{b}</>]
*/
`<+>`(left_chunk:xhtml, right_chunk:xhtml) = <>{left_chunk}{right_chunk}</>

0 comments on commit fa07b3d

Please sign in to comment.
Something went wrong with that request. Please try again.