[ocaml-platform] Installing custom toplevel printers with findlib

Sylvain Le Gall sylvain+ocaml at le-gall.net
Sat Mar 23 20:12:31 GMT 2013


2013/3/23 Daniel Bünzli <daniel.buenzli at erratique.ch>:
>
> Le samedi, 23 mars 2013 à 16:16, Sylvain Le Gall a écrit :
>> The reference doc is always "oasis manual" (i.e. call your oasis exec
>> with argument manual).
>
>
> Ok, maybe that should me made clear in the webpage if you don't update it.
>
>> I thought the trace was useful... Seems like you don't like it.
>
> For what exactly ? I really don't care how oasis works internally. From a user perspective it's only noise, the stack trace *won't help me to solve my problem*.
>> ls a
> ls: a: No such file or directory
>> ocaml a
> Cannot find file a.
> Do we need stack traces here ? Come on.
>

You made it clear 2 mails ago and it was so obvious to me that I
didn't put words on it. So let me state it clearly: "I will disable
the stack trace printing" or at least hide it enoug behind a "debug"
flag. Although if some exception escape the context, there will still
be stack traces -- but not on purpose.

>
>> Do you have set OCAMLRUNPARAMS=b in your environment ?
> Yes.
>> Turning it off should probably turn of the stack trace as well.
>
> No I won't do that. I need that variable set because I'm an OCaml developer. I'm not going to change that because oasis is doing something wrong [1].
>

That was just a possible quick hack, not a long term solution (of course).

> Best,
>
> Daniel
>
> [1]
> OT. This reminds me a little bit the debian website that tells you to set your *browser language* to english if you want to browse the site in english when your browser is not because it uses stupid language-based content-negociation on *each request*. Yeah right, I'm going to change my browser user settings to be able to browse the site in english...
>

Indeed, this is OT.

>


More information about the Platform mailing list