Converting haskell to html