mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Minor formatting and punctuation fix in the OCaml tutorial.
This commit is contained in:
parent
3995be4f4b
commit
2d01fb3c05
@ -10,10 +10,10 @@ features.
|
|||||||
Along with StandardML and its dialects it belongs to ML language family.
|
Along with StandardML and its dialects it belongs to ML language family.
|
||||||
F# is also heavily influenced by OCaml.
|
F# is also heavily influenced by OCaml.
|
||||||
|
|
||||||
Just like StandardML, OCaml features both an interpreter that can be
|
Just like StandardML, OCaml features both an interpreter, that can be
|
||||||
used interactively and a compiler. The interpreter binary is normally called "ocaml" and
|
used interactively, and a compiler.
|
||||||
the compiler is "ocamlopt". There is also a bytecode compiler, "ocamlc",
|
The interpreter binary is normally called "ocaml" and the compiler is "ocamlopt".
|
||||||
but there are few reasons to use it.
|
There is also a bytecode compiler, "ocamlc", but there are few reasons to use it.
|
||||||
|
|
||||||
It is strongly and statically typed, but instead of using manually written
|
It is strongly and statically typed, but instead of using manually written
|
||||||
type annotations, it infers types of expressions using Hindley-Milner algorithm.
|
type annotations, it infers types of expressions using Hindley-Milner algorithm.
|
||||||
|
Loading…
Reference in New Issue
Block a user