langs a-z

This commit is contained in:
Ingy döt Net 2013-04-10 22:43:41 -07:00
parent db842d013d
commit d066446780
11389 changed files with 98361 additions and 1020 deletions

View file

@ -0,0 +1 @@
f ()

View file

@ -0,0 +1 @@
f 1 2 3

View file

@ -0,0 +1 @@
val f : ?a:int -> int -> unit

View file

@ -0,0 +1,2 @@
f 10
f ~a:6 10

View file

@ -0,0 +1,2 @@
g ()
g ~b:1.0 ()

View file

@ -0,0 +1 @@
f ~arg:3

View file

@ -0,0 +1,2 @@
let arg = 3 in
f ~arg

View file

@ -0,0 +1 @@
(* TODO *)

View file

@ -0,0 +1,4 @@
let ret = f ()
let a, b, c = f () (* if there are several returned values given as a tuple *)
let _ = f () (* if we want to ignore the returned value *)
let v, _ = f () (* if we want to ignore one of the returned value *)