Since I have been devising error handling combinators initially for assemblage 
and that I'm now using them in other projects, it seems in the end that having 
a basic result package maybe useful. I have devised one here:  

http://erratique.ch/software/result

Comments on the interface are welcome (use the github bt). Example of use can 
be seen here [1]. One thing that may change is that the type Result.result will 
maybe switch to a regular variant.

Best,

Daniel

[1] 
https://github.com/dbuenzli/bos/blob/97ae720554cba69d77005365f2a619db82f9670d/src/bos_os.ml



_______________________________________________
MirageOS-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

Reply via email to