Top definition
A French-made programming language, that can be made to work like lisp, C, Java or whatever else you like. It can be interpreted, compiled natively or compiled to bytecode. Overall it's a rather academic but very powerful programming language.
# let rec ocaml_reverse lst =
match lst with
| ->
| h::t -> (ocaml_reverse t)@h
val ocaml_reverse : 'a list -> 'a list = <fun>
# ocaml_reverse 1;2;3;;
- : int list = 3; 2; 1
by plagal May 15, 2007
Get the mug
Get a ocaml mug for your dog Georges.
buy the domain for your foodie vlog