dbuenzli / logs

Logging infrastructure for OCaml
http://erratique.ch/software/logs
ISC License
86 stars 19 forks source link

Log.on_error[_msg] does not not compose with @@ and |> #11

Closed dbuenzli closed 8 years ago

dbuenzli commented 8 years ago

This is because ~use is labelled. For example Rresult.R.reword_error_msg does compose with the operators because the error rewording function is unlabelled.

A bit annoying I like the label.

dbuenzli commented 8 years ago

Except sometimes it does...

dbuenzli commented 8 years ago

Can't reproduce.