
21 Feb
2001
21 Feb
'01
3:23 p.m.
(moved to haskell-cafe) G Murali writes: | hi there, | | I'm tryng to get my concepts right here.. can you please help in | defining a funtion like | | makeSet :: (a->Bool)->Set a | | I understand that we need a new type Set like | data Set a = Set (a->Bool) what puzzles me is how to apply the funtion | to all elements belonging to type a. What other operations do you need to implement for "Set a"? Is there anything that can't be expressed in terms of those set membership functions you already have?
8857
Age (days ago)
8857
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tom Pledger