[Haskell-cafe] Equality Question

Thomas Hartman thomas.hartman at db.com
Tue Oct 16 09:50:54 EDT 2007


a good sanity check for saneness of two fxs is to "quickcheck" them, as I 
believe I provided an example to for a previous question of yours.

Though I think in this case that's impossible because, as someone else 
pointed out, not even the function tyes agree.

t.



PR Stanley <prstanley at ntlworld.com> 
Sent by: haskell-cafe-bounces at haskell.org
10/15/2007 06:56 PM

To
haskell-cafe at haskell.org
cc

Subject
[Haskell-cafe] Equality Question






Hi
is const = id?
const 'x' 'y'
'x'
id 'x'
'x'

Cheers,
Paul

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



---

This e-mail may contain confidential and/or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20071016/6f24ebe0/attachment.htm


More information about the Haskell-Cafe mailing list