User loginNavigation 
ConstraintBased Type Inference for Guarded Algebraic Data Types
ConstraintBased Type Inference for Guarded Algebraic Data Types
Quite a mouthful, but look: Guarded algebraic data types, which subsume the concepts known in the literature as indexed types, guarded recursive datatype constructors, and phantom types, and are closely related to inductive types, have the distinguishing feature that, when typechecking a function defined by cases, every branch must be checked under different typing assumptions. This mechanism allows exploiting the presence of dynamic tests in the code to produce extra static type information. I still have to grok this idea of "dynamic tests producing extra static type information" in its entirety, though. By Andris Birkmanis at 20040809 20:48  LtU Forum  previous forum topic  next forum topic  other blogs  6002 reads

Browse archivesActive forum topics 
Recent comments
5 hours 42 min ago
15 hours 15 min ago
16 hours 39 min ago
18 hours 6 min ago
19 hours 16 min ago
19 hours 57 min ago
22 hours 45 min ago
23 hours 49 min ago
1 day 2 hours ago
1 day 7 hours ago