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.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe