cs_lang:ocaml
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cs_lang:ocaml [2011/07/14 09:02] – [Parity] cedric | cs_lang:ocaml [2012/04/29 11:44] (current) – cedric | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | ===== Paradigm ==== | ||
+ | * multi-paradigm: | ||
+ | ===== Typing discipline ===== | ||
+ | * static typed; | ||
+ | * strongly typed; | ||
+ | * inferred. | ||
+ | |||
+ | |||
+ | ====== Learning Objective Caml ====== | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
Line 13: | Line 22: | ||
# inc 2;; | # inc 2;; | ||
- : int = 3 | - : int = 3 | ||
+ | |||
+ | |||
+ | # Alternative: | ||
+ | # let inc = (+) 1;; | ||
+ | val inc : int -> int = <fun> | ||
</ | </ | ||
cs_lang/ocaml.1310626943.txt.gz · Last modified: 2011/07/14 09:02 by cedric