User Tools

Site Tools


cs_lang:ocaml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
cs_lang:ocaml [2011/07/14 09:03] – [Increment a number] cedriccs_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>
 </code> </code>
cs_lang/ocaml.txt · Last modified: 2012/04/29 11:44 by cedric