Luke Tong
ca852c8b7d
[ocaml/en] Update ocaml.html.markdown ( #4818 )
...
* Dune and Opam
immutability by default
records
@ append operator
‘a option type example
Tree type example
more detail in pattern matching (exhaustiveness)
is sorted and reverse list function examples
Higher order functions
transform and filter example
mutable records, refs
* fixed comment
2023-12-31 13:09:15 +01:00
Boris Verkhovskiy
23bb5f6f69
Proofread OCaml
2023-07-19 23:47:11 +01:00
Stanislav (Stanley) Modrak
ed3d7ad123
Add further resources
2023-06-30 13:00:21 +01:00
15532
d6becca820
Update ocaml.html.markdown ( #4181 )
2022-01-04 00:18:53 +08:00
Andrew Schwartzmeyer
2531d8c7f1
[ocaml/en] Fix typo
2019-01-09 17:10:06 -08:00
Pratik Karki
7d303e5042
Remove per the request #3017
2018-02-28 17:06:06 +05:45
Pratik Karki
b3553281f7
Add filename( #2832 )
2017-08-25 13:52:26 +05:45
juan70
a69b31cd3e
Change anonymous function in List.filter example
...
Change into what is supposed to be better style, or maybe a more idiomatic way of writing the predicate.
2016-03-26 12:27:56 +00:00
Jearvon Dharrie
95bb627df8
Fix typo
2016-02-26 17:48:31 -05:00
Gloria Dwomoh
d04d93cf03
Update ocaml.html.markdown
2015-10-17 15:06:28 +03:00
Gabriel Halley
960ee4a185
removing whitespace all over
2015-10-07 23:11:24 -04:00
Chenggang Duan
ea5c3c1f3e
[ocaml/en] Fix typo
2015-02-12 17:02:16 +08:00
Chenggang Duan
8c70acc9fb
[ocaml/en] Change the example of mutually recursive functions
...
Change the example to a meaningful and self-contained example of
mutually recursive functions.
2015-02-12 16:54:26 +08:00
Oscar
b2cb538a5a
Recursive function a little bit to recursive
...
Infinitely recursive
2014-10-18 11:44:44 +08:00
Daniil Baturin
5cf408a7a9
Add anonymous functions and list map/filter sections to the OCaml tutorial.
2014-09-13 00:54:23 +07:00
Daniil Baturin
807a958c78
Some information about the need for type annotations in OCaml tutorial.
2014-09-13 00:46:46 +07:00
Daniil Baturin
166fb997a0
Remove the signature explanation by grouping to avoid confusion
...
with signature syntax for function types.
2014-09-13 00:36:15 +07:00
Daniil Baturin
2d01fb3c05
Minor formatting and punctuation fix in the OCaml tutorial.
2014-09-12 19:46:41 +07:00
Daniil Baturin
3995be4f4b
Break some long lines in OCaml tutorial to avoid horizontal scrolling.
2014-09-12 19:42:50 +07:00
Daniil Baturin
962d58d013
Remove stray argument from the alternative matching syntax in OCaml tutorial.
...
It wouldn't cause a syntax error, but wouldn't give intended result either.
2014-09-12 19:35:56 +07:00
Daniil Baturin
d9110cf7bc
An overly simplified explanation of currying in OCaml tutorial.
2014-09-12 19:34:50 +07:00
Daniil Baturin
55c269cc3c
F# is also related to the ML family.
2014-09-12 18:39:15 +07:00
Daniil Baturin
15fd51c998
Minor style notes in the OCaml tutorial.
2014-09-11 21:40:15 +07:00
Daniil Baturin
791c123ba5
Add a section about strings and characters to the OCaml tutorial.
2014-09-11 21:22:02 +07:00
Daniil Baturin
6eea532330
The native compiler is ocamlopt, not ocamlc.opt.
...
Artifacts of late-night writing.
2014-09-11 20:59:21 +07:00
Adam Bard
1d5533f45b
Fix up links.
2014-09-10 17:37:17 +02:00
Adam Bard
146e6a4ac1
Update ocaml.html.markdown
2014-09-10 17:35:30 +02:00
Daniil Baturin
b2cf2228b3
One more fix in the OCaml tutorial.
2014-09-10 21:40:47 +07:00
Daniil Baturin
9f3bff9ce8
Fix some typos/errors in the OCaml tutorial.
2014-09-10 21:33:41 +07:00
Daniil Baturin
870289faa8
Add OCaml tutorial.
2014-09-10 20:17:03 +07:00