22 Jun
2007
22 Jun
'07
1:01 a.m.
Peter Padawitz writes:
Is f(~p(x))=e(x) semantically equivalent to: f(z)=e(x) where p(x)=z?
Yep. See also http://en.wikibooks.org/wiki/Haskell/Laziness#Lazy_pattern_matching regarding lazy patterns. -- -David House, dmhouse@gmail.com