User loginNavigation |
Do I need a forall if type parameters are syntactically distinguishable from type constructors?My type-fu is too weak for TAPL atm, which probably has the answer to this -- I don't fully understand when and why explicit forall/quantification of type parameters is needed. In Java for example, type parameters in class definitions are automatically quantified, whereas type parameters in polymorphic methods need an explicit quantification. I wonder if explicit quantification is needed because Java uses the same syntax for type constructors (classes) and type parameters? If type parameters are distinguishable from classes syntactically, is a forall then ever needed? By Manuel J. Simoni at 2010-09-05 14:02 | LtU Forum | previous forum topic | next forum topic | other blogs | 5161 reads
|
Browse archives
Active forum topics |
Recent comments
22 weeks 6 days ago
22 weeks 6 days ago
22 weeks 6 days ago
45 weeks 19 hours ago
49 weeks 2 days ago
50 weeks 6 days ago
50 weeks 6 days ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago