This is indeed very strange. On my latest GHC 7 (built a couple of days ago) it does the right thing when compiled, but in GHCi it behaves as you describe. I have no idea, frankly.
On Thu, Feb 3, 2011 at 8:44 PM, Steffen Schuldenzucker < [email protected]> wrote: > > Dear cafe, > > does anyone have an explanation for this?: > > >>> error (error "foo") > *** Exception: foo > > >>> error $ error "foo" > *** Exception: *** Exception: foo > > -- Steffen > > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe >
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
