cs_lang:ocaml
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
cs_lang:ocaml [2011/07/14 09:03] – [Increment a number] cedric | cs_lang:ocaml [2011/07/14 09:03] – [Increment a number] cedric | ||
---|---|---|---|
Line 16: | Line 16: | ||
# Alternative: | # Alternative: | ||
- | let inc = (+) 1;; | + | # let inc = (+) 1;; |
val inc : int -> int = <fun> | val inc : int -> int = <fun> | ||
</ | </ |
cs_lang/ocaml.txt · Last modified: 2012/04/29 11:44 by cedric