[Haskell-cafe] shared local definitions