[Haskell-beginners] Fwd: deep seq and bang patterns

Henk-Jan van Tuyl hjgtuyl at chello.nl
Tue Dec 25 22:52:45 CET 2012


On Tue, 25 Dec 2012 20:37:09 +0100, Daniel Fischer  
<daniel.is.fischer at googlemail.com> wrote:

> On Dienstag, 25. Dezember 2012, 20:00:18, Emmanuel Touzery wrote:
>> how do I know what does "evaluated to WHNF" means for every possible  
>> type?
>
> For non-function types, it means evaluate until the outermost  
> constructor is
> known. For function types (which have no constructors), it means  
> evaluating to
> the outermost lambda.

Can I use your text for the HaskellWiki?

Regards,
Henk-Jan van Tuyl


-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--



More information about the Beginners mailing list