Recently, I spent some time experimenting with Haskell’s type families – a concept that allows one to perform computation at the type level in Haskell.
In one example, I wrote an append implementation at the value and the type level, and also other stuff such as Merge Sort implementation at the type level.
In this post, I will show different implementations of appending two lists together, written both in Haskell and in Idris, as well as some observations around the differences.
Continue reading “The computation of appending lists at the type and value level”