haskell now builds snippets correctly