Question about sets

Scott J. jscott@planetinternet.be
Tue, 20 Aug 2002 10:36:28 +0200


As far a I know sets can implemented by implementing a list of anything(a
list of all types) The sets Haskell does have are AFAIK sets of elements of
the same type: these are not general sets.

Scott

----- Original Message -----
From: "Ketil Z. Malde" <ketil@ii.uib.no>
To: <haskell-cafe@haskell.org>
Sent: Tuesday, August 20, 2002 8:56 AM
Subject: Re: Question about sets


> "Scott J." <jscott@planetinternet.be> writes:
>
> > I have a question. Why are sets not implemented in Haskell?
>
> What do you mean?  Isn't
>
>         http://www.haskell.org/ghc/docs/latest/html/hslibs/set.html
>
> sufficient?  (Remember to tell GHC '-package data')
>
> -kzm
> --
> If I haven't seen further, it is by standing in the footprints of giants
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>