Re: update in-place

2001-10-02 Thread Ketil Malde
Cagdas Ozgenc [EMAIL PROTECTED] writes: Could you help me on this notation? Perhaps? data Foo = Foo { a :: Int, b :: String } This declares a Foo constructor with two named fields, and Int a and a String b. This is equivalent to declaring data Foo = Foo Int String but with a

Re: Doing exercises from Haskell tutorial ...

2001-10-02 Thread Marcin 'Qrczak' Kowalczyk
02 Oct 2001 15:16:27 +0300, Dmitry Astapov [EMAIL PROTECTED] pisze: I need to define SetsAsLists as an instance of Set by supplying definitions for all Set methods, but definitions I wrote led me to adding additional constraints on union and memeber methods. What constraints? The class