RE: [Haskell-cafe] how to avoid overlapping instance error?
1 Mar
2005
1 Mar
'05
7:50 a.m.
| Or I suppose, one could rephrase this question as why not | simplify instance declarations to be: | | instance ToSet where | toSet = Set.fromList | | And let the typechecker take care of figuring out what instance is | being specified here? That might be possible, but Haskell forces you to be a bit more explicit, that's all. Simon
7568
Age (days ago)
7568
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Peyton-Jones