MetaFun: Compile Haskell-like code to C++ template metaprograms Introduction MetaFun is a program to compile functional programs into C++ template metaprograms. It allows you to write programs in the very Haskell-like language Kiff (for Keep It Fun & Functional), and then use them as compile-time C++ metaprograms. You can download the latest version of MetaFun from GitHub. Kiff: The input language