Skip to content
  • Simon Marlow's avatar
    [project @ 2003-03-17 14:47:47 by simonmar] · 74b46a5d
    Simon Marlow authored
    Haskell quiz:  what should this program do?
    
      main = return undefined
    
    answer: run to completion and exit successfully.  GHC erroneously
    evaluates the returned value from main, which causes this example to
    fail with an uncaught exception (the evaluation is even done outside
    of the main exception handler!).
    74b46a5d