I have recently rewritten Slipshow’s engine from JavaScript to OCaml.
It turns out this rewriting was very satisfying, and many niceties came out of it.
I have written a blog post about a specifically interesting one: the use of custom let operators with the “undo-able” monad. I hope you enjoy the read!
That was fun to read! And nice to hear that Slipshow was funded and is getting attention I used Slipshow for a presentation last year, and it was wonderful!
Reading was both enlightening and fun, thanks !
This may also provide a “light” introduction to the State monad (at least, it was useful for me to view it this may).
A question, en passant, which tool did you use to write the blog itself. Having executable code blocks (with revert possibility) is very helpful.
Thanks a lot, really appreciate to hear a positive feedback!
I wrote most of the blog post in markdown, converted it in HTML, and then ended up editing the HTML for some reason…
For the executable code blocks, I quickly hacked my own tool. I’ve now made it available as GitHub - panglesd/blogaml: A prototype to write blog posts with executable ocaml code blocks, in case it’s helpful to someone, thanks for pushing me to do this!
(I’m sure there are better alternatives, and even more alternatives to come!)