Posted in 2016
Pretty Printing a Table in Emacs
- 23 December 2016
Recently, I needed to output some relatively small tabular data in Emacs and
message
was starting to be a bit long in the tooth. Finally, I’ve decided to
try my hand at upgrading the visuals for myself. I realize that there’s probably
dozens of different ways of pretty-printing tables in Emacs, but I was already
partial to the tabular output used by functions such as list-processes
and
plugins such as prodigy (Using org
mode’s tables also comes to mind for example). So I’ve decided to recreate this
experience for my own tables. The result has been convenient and aesthetically
pleasing enough to share.
Free Monads in the Wild - OCaml Edition
- 22 July 2016
OCaml programmers don’t seem to resort to free monads much. I like to imagine that this is the case because we’re a practical bunch. But it could simply be that this technique like other monads is a bit heavyweight syntactically, let alone the performance implications it might have.
Publishing an OPAM Package - a Checklist
- 26 February 2016
The process of publishing an opam package has come a long way from its modest beginnings. Nevertheless the opam team deserves praise for choosing an extremely simple and flexible model for contribution - the git commit. To me that explains how it aged gracefully with improvements such as:
Scrap your Camlp4
- 15 February 2016
ppx has been out for a while but it seems like the community has been taking its time transitioning away from camlp4. There’s probably a couple of reasons for that: