pull formatting from elisp to haskell