Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[doc] List: typo in lib/stdlib/core/list.opa #97

Merged
merged 2 commits into from

2 participants

@kmtu

Fix a typo in API doc.

kmtu added some commits
@kmtu kmtu [fix] doc typo in lib/stdlib/core/list.opa 76b4672
@kmtu kmtu [Fix] doc error
- * [a <+> b] is the same thing as <>{a}{b}</>
+ * [a <+> b] is the same thing as [<>{a}{b}</>]
0f14e2b
@kmtu

I am not sure whether I should use [fix] or [doc] in the commit title.

@Aqua-Ye

You should write [doc] List: typo for example, no need to precise it's a fix :)

@Aqua-Ye Aqua-Ye merged commit fa07b3d into MLstate:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 6, 2012
  1. @kmtu
  2. @kmtu

    [Fix] doc error

    kmtu authored
    - * [a <+> b] is the same thing as <>{a}{b}</>
    + * [a <+> b] is the same thing as [<>{a}{b}</>]
This page is out of date. Refresh to see the latest.
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
@@ -750,6 +750,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}</>
Something went wrong with that request. Please try again.