Changes between Version 11 and Version 12 of PolymorphicComponents
- Timestamp:
- 01/19/07 15:11:43 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PolymorphicComponents
v11 v12 69 69 1. 4.2.3 - syntax in "Datatype Renaming" ''newtype'' declarations 70 70 1. lots of english text in algebreic datatype declartions 71 1. english text in Labelled fields - give an example of fields with polymorphic types 71 1. english text in Labelled fields - give an example of fields with polymorphic types, or do this in section 3? 72 72 1. anything in "kind inference"? 73 1. ''note for'': for field labels, when you have the same label in different constructors, it's permitted as long as the type is the same; anything here to describe the syntactic checking that occurs to determine whether these types are the same? "Syntactic up-to alpha-renaming." Might be unintuative as this is rejected by GHC and Hugs: 74 {{{ 75 data T = C1 { x :: forall a. (Show a,Eq a) => a -> a } 76 | C2 { x :: forall a. (Eq a,Show a) => a -> a } 77 }}}
