12596Re: "ocaml_beginners":: prettyprinting
- May 1 6:10 PM--- In email@example.com, Cedric Cellier <rixed@...> wrote:
>I take it that toplevellib is undocumented.
> ----- Message d'origine -----
> > How can I prettyprint values as the toplevel does it? (I mean by calling
> > a library function.) Is there a quick-and-dirty way to do this?
> There is a lib with the toploop functions, such as a function to pretty print a value (toplevellib.cma).
I am looking for something like Haskell's show or Common Lisp's print. I was hoping to find something similar in ocaml that is (a) documented, and (b) immediately usable.
- Phil -
- << Previous post in topic