Dual numbers

By horsing around on YouTube these days I found this video about dual numbers, which I found actually quite interesting. Since I have a computer engineering background, I immediately asked myself what can these numbers used for. It turns out, for some pretty nifty stuff.

A text-only Markdown preview with Elixir (and Haskell)

Recently, I was doing some stuff in Markdown with Phoenix, more specifically with Earmark, and I needed to have a "textual only" preview of some Markdown text. That is, I wanted to strip the tags but keep the content.

A nice way of sorting

This blog post is to explore a really clean way of sorting a list in Haskell.