[Haskell-cafe] Using catch and errors

robert dockins robdockins at fastmail.fm
Fri Apr 22 12:51:27 EDT 2005


>>No, that should work.  Haskell equality is not at all like Java
>>equality.  In java, '=' basicaly means pointer equality.  I am not aware
>>of a way to even make that comparison in Haskell (in general).  Haskell
>>'=' behaves a lot more like equals() in Java.
>>
> 
> Of course, you mean Haskell '==', as Haskell '=' is declared equality,
> which is somewhat like '=' in mathematics.

D'oh!  Indeed.  I mean '==' for Java as well.  Java '=' is variable 
assignment.



More information about the Haskell-Cafe mailing list