Changes between Version 16 and Version 17 of PolymorphicComponents
- Timestamp:
- 04/04/07 13:27:29 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PolymorphicComponents
v16 v17 61 61 1. Introduce a new ''special identifier'' '''forall'''. This identifier has a special interpretation in types and type schemes (i.e., it is ''not'' a type variable). 62 62 However, '''forall''' can still be used as an ordinary variable in expressions. 63 1. syntax 63 1. Syntax for writing type schemes 64 {{{ 65 scheme = 'forall' tvar_1 .. tyvar_n '.' opt_ctxt type (n > 0) 66 | type 67 68 ascheme = '(' scheme ')' 69 | atype 70 71 bscheme = '(' scheme ')' 72 | btype 73 74 opt_ctxt = context '=>' 75 | 76 }}} 77 78 64 79 1. change "atype" or modify specific sections? 65 80 1. 4.2.1 - syntax in "Algebreic Datatype Declarations", add ''forall'' to various bits.
