The Haskell (Snap) rewrite of Frontend.