[Haskell-cafe] what is the purpose of GHC.Exts.lazy?

jared simpson jjaredsimpson at gmail.com
Sat Dec 1 23:42:42 CET 2012


docs say:

The call '(lazy e)' means the same as e, but lazy<http://hackage.haskell.org/packages/archive/base/latest/doc/html/GHC-Exts.html#v:lazy> has 
a magical strictness property: it is lazy in its first argument, even 
though its semantics is strict.
why do i want to use magic during strictness analysis?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121201/8beae65d/attachment.htm>


More information about the Haskell-Cafe mailing list