/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
- let h = Hashtbl.create 10
- let _ = Hashtbl.replace h 0 1
- let one = Hashtbl.find h 0
- let lst = List.hd (1::2::3::[])
- let f a b = a+b
- let three = f one 2;;