| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Util.Main
Description
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:
withUtf8from thewith-utf8package.withDisplayExceptionHandlerfrom theuncaught-exceptionpackage.
This function is supposed to apply all main customizations that we
typcally want to do.