[Haskell] Bang patterns and declaration order

Felipe Lessa felipe.lessa at gmail.com
Sun Nov 18 15:34:08 EST 2007


On Nov 18, 2007 6:11 PM, Iavor Diatchki <iavor.diatchki at gmail.com> wrote:
> I was playing around with "bang patterns" and I noticed that
> when combined with asynchronous exceptions they can lead to
> programs where the order of the declarations in a binding
> group is important!

I think that's why they may be catched only on IO, because their order
is implementation-dependent. Please anybody correct me if I'm wrong.

Cya,

-- 
Felipe.


More information about the Haskell mailing list