Tag: haskell

An introduction to typeclass metaprogramming
Post

An introduction to typeclass metaprogramming

Originally posted on lexi-lambda.github. Typeclass metaprogramming is a powerful technique available to Haskell programmers to automatically generate term-level code from static type information. It has been used to great effect in several popular Haskell libraries (such as the servant ecosystem), and it is the core mechanism used to implement generic programming via GHC generics. Despite this, remarkably little material...

Getting to know some pragmatic programming language features
Post

Getting to know some pragmatic programming language features

As you know, in the Pragmatic Programmer, section Your Knowledge Portfolio, it is said that Learn at least one new language every year. Different languages solve the same problems in different ways. By learning several different approaches, you can help broaden your thinking and avoid getting stuck in a rut. Additionally, learning many languages is far easier...