janestreet / sexplib

Automated S-expression conversion
MIT License
147 stars 27 forks source link

Remove a hard dependency on the Unix module #4

Closed avsm closed 10 years ago

avsm commented 10 years ago

This removes an exception printer which requires Unix to be linked to use Sexp. Without this, there is only a "soft" dependency in the form of Bigarray, which doesn't require unix.cmxa to actually be present.

It would be great if this exception printer could be moved into a sexplib.unix subpackage, to make it easier to portably use it in Mirage or JavaScript.