How to extract type definitions from OCaml code -


is there way extract type definitions bunch of ocaml files? can cut , paste them separate editor tab, it's easy stare @ them in way fits information on screen @ possible. however, chore , i'd prefer make automated.

to make precise, emacs , tuareg mode shows me types of functions, i'd want able collect nice cheat sheet of each type is. modules, there's mli-file, else collecting them 1 place overview of bunch of code annoying.

it's difficult understand you're asking for. maybe if collect everybody's suggestions 1 place.

as nlucaroni points out, can't have solution modules want works else. there nothing else. ocaml code part of module.

you mli files ok. if module doesn't have mli file, can generate mli file ocamlc -i camlspotter says.

if doesn't work, give example of ocaml code , extracted definitions want see it.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -