OCaml rocks! and few announcements
I am finally ready to announce the creation of OCaml rocks!
It is a new blog for sharing coding experience, new ideas on automation and to make introductions on interesting projects - personal or from anywhere in the community. And while on the subject, there you will also find information about two projects that recently landed on opam:
Sugar
Sugar is a monadic library to help you build an error handling layer. It unifies many uses for error aware expressions and integrates well with theading libraries. A proper introduction on the library can be found here. Its documentation is online, but you can also read a beginner friendly intro on the subject.
Dryunit
Dryunit is a detection tool for traditional testing. It started as a PPX, but after a while the project was simplified to be just a command line. Writing the extension was an interesting learning process though.
Tests are detected with the helper of OCaml parser and preprocessed test suites are cached to avoid performance penalties. Calling an extra shell for each test file might seem unnecessary, but that leaves you free to implement tests using any feature in OCaml, writing tests anyway you want. An introduction can be found here.
Feedback and suggestions for future posts are welcome!