Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamlopt debugging options
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alexey Rodriguez <mrchebas@g...>
Subject: Re: [Caml-list] ocamlopt debugging options
2009/6/18 Daniel Bünzli <>:

> If you compile with -S they should not be gone in the generated assembly
> file. More explanations here :

Thank you! It was my silly mistake after all. I was testing a small
program to see whether functions would be inlined. Ocaml did inline
them and that is why I did not see them! :)

One more question regarding code generation and optimization. Has
anyone in this list used monads in production code? The core library
from Jane Street uses monads, so I suppose they are used over there.
Can people comment on their efficiency (or lack thereof)?

The experiments I am doing are to test whether Ocaml can inline most
uses of bind.