PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/src/simple/simple.ml

http://github.com/hhughes/ocaml-frui
OCaml | 9 lines | 6 code | 3 blank | 0 comment | 0 complexity | 61a0d4b80b4cf03a6df9ae2398a47b51 MD5 | raw file
1let h = Hashtbl.create 10
2
3let _ = Hashtbl.replace h 0 1
4let one = Hashtbl.find h 0
5
6let lst = List.hd (1::2::3::[])
7
8let f a b = a+b
9let three = f one 2;;