Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where is the source code for the standard library in OCaml?

Tags:

ocaml

when looking at the standard library of OCaml I want to see the source code for the functions described, where can i find the code for these functions?

http://caml.inria.fr/pub/docs/manual-ocaml/libref/List.html this link shows the standard library for list, where can I find the code used for each of these?

like image 730
helpmeplz Avatar asked Mar 28 '11 04:03

helpmeplz


1 Answers

just type as follows in your shell:

$ cd `ocamlc -where`

And you can see *.mli files, which has documentations.

like image 144
ymotongpoo Avatar answered Jan 02 '23 02:01

ymotongpoo