RE: Rank-2 polymorphism & type inference

6 Dec
2000
6 Dec
'00
12:15 p.m.
Hello.
< class C t where op :: t -> Bool
< instance C [t] where op x = True
<
< p y = (let f :: c -> Bool; f x = op (y >> return x) in f, y ++ [])
< q y = (y ++ [], let f :: c -> Bool; f x = op (y >> return x) in f)
<
8934
Age (days ago)
8934
Last active (days ago)
0 comments
1 participants
participants (1)
-
Carlos Camarao de Figueiredo