Re: [Haskell-cafe] question about throwDyn

2007-10-12 Thread Ryan Ingram
throwDyn e = throw (DynException (toDyn e)) You're wrapping the exception in a DynException wrapper, which shows up as (unknown). -- ryan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] question about throwDyn

2007-10-11 Thread Michael Vanier
In ghci, why does throw $ ArithException DivideByZero print *** Exception: divide by zero while throwDyn $ ArithException DivideByZero print *** Exception: (unknown) ? Mike ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org