On Thu, Feb 3, 2011 at 12:44 PM, Steffen Schuldenzucker <sschuldenzuc...@uni-bonn.de> wrote: > > Dear cafe, > > does anyone have an explanation for this?: > >>>> error (error "foo") > *** Exception: foo > >>>> error $ error "foo" > *** Exception: *** Exception: foo >
Have you read the intermediate Core (using -ddump-simpl) for each variation? Cheers, Tim -- Tim Chevalier * http://cs.pdx.edu/~tjc/ * Often in error, never in doubt "an intelligent person fights for lost causes,realizing that others are merely effects" -- E.E. Cummings _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe