[Haskell-beginners] Re: A better way?

Heinrich Apfelmus apfelmus at quantentunnel.de
Mon Feb 23 05:54:02 EST 2009


Daniel Fischer wrote:
>
>> I'd use bang patterns in favor of the now outdated
>>
>>    | x `seq` False = undefined
>>
>> pattern though.
> 
> I would, too, but they're not yet portable, are they?
> Which implementations other than GHC currently support them?

No, they're not portable yet, but they're really convenient. :D  The
implementations other than GHC will probably pick up -XBangPatterns as well.


Regards,
apfelmus

--
http://apfelmus.nfshost.com



More information about the Beginners mailing list