Changes between Version 5 and Version 6 of ClassMethodTypes
- Timestamp:
- 02/01/06 20:02:32 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClassMethodTypes
v5 v6 13 13 [http://www.cse.ogi.edu/~mpj/thih/ Typing Haskell in Haskell], and can be turned off in GHC with `-fglasgow-exts`. 14 14 15 == interaction with existentials == 16 17 If this were allowed than existential types of the form 18 19 {{{ 20 data SomeFoo = exists a . Foo a => SomeFoo a 21 }}} 22 23 24 would have to carry around a dictionary for Num as well as Foo in dictionary passing implementation of type classes. 25 26 27 15 28 == Cons == 16 29
