Prelude -package:llvm-hs-pure -package:inline-r package:jmacro

This provides a set of basic functional programming primitives, a few utility functions and, more importantly, a decent sample of idiomatic jmacro code. View the source for details.