
20 Aug
2002
20 Aug
'02
3:19 p.m.
"Scott J."
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.
Ah. That's a static typing issue. However, I don't think it's really an issue. In axiomatic set theory, every set must be a subset of some other set, except for powersets and unions. Unions are implementable using Either, and powersets are implementable using Set (i.e., powerset :: Set a -> Set (Set a)).
Scott
Jon Cast
8314
Age (days ago)
8314
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jon Cast