[Haskell-cafe] lazy patterns versus where-clauses

Stefan O'Rear stefanor at cox.net
Thu Jun 21 12:18:02 EDT 2007


On Thu, Jun 21, 2007 at 06:13:22PM +0200, Peter Padawitz wrote:
> Is f(~p(x))=e(x) semantically equivalent to: f(z)=e(x) where p(x)=z?

Yes.

PS: I saw that twice

Stefan


More information about the Haskell-Cafe mailing list