Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions supposed to be used in the Main
module.
Documentation
wrapMain :: IO () -> IO () Source #
Some defaults in Haskell are debatable and we typically want
to customize them in our applications.
Some customizations are done at the level of main
.
Currently we have two of them:
withUtf8
from thewith-utf8
package.withDisplayExceptionHandler
from theuncaught-exception
package.
This function is supposed to apply all main
customizations that we
typcally want to do.