- Mar 29, 2015
-
-
Kim Nguyễn authored
Further simplify the type algebra code, using the newly introduced combinators (map/fold/iter) over types.
-
- Mar 28, 2015
-
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
Kim Nguyễn authored
Move the bool.ml{,i} files in types/ where they belong.
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
- Mar 26, 2015
-
-
Kim Nguyễn authored
-
Kim Nguyễn authored
Add more test cases to the the pretty printer/parser test suite.
-
- Mar 25, 2015
-
-
Kim Nguyễn authored
-
Kim Nguyễn authored
Fix various bugs in the pretty-printer (union of atoms not parenthesized, | instead of & for some toplevel variables)
-
Kim Nguyễn authored
-
- Mar 24, 2015
-
-
Kim Nguyễn authored
-
- Mar 23, 2015
-
-
Kim Nguyễn authored
Add a wrapper around the type printing function to prevent them from outputing illegal code (such as [(Char | (*--2)*)* ]. (which contains CDuce comments).
-
- Mar 20, 2015
-
-
Kim Nguyễn authored
Implement some semantic simplification of BDDs. This fixes the exponential beahviour during the typing of the application of flatten.
-
- Mar 18, 2015
-
-
Kim Nguyễn authored
Refactor the Bool/BoolVar code so that they share the same interface. Give access to the underlying atom module in BoolVar.
-
Kim Nguyễn authored
Improve pretty printing of Bdds and add debug directive to interactively inspect the internal representation of types.
-
Kim Nguyễn authored
exponentially large types in some cases. This simplifies types of the form: T & 'a | T \ 'a into T.
-
- Mar 06, 2015
-
-
https://git.cduce.org/cduceKim Nguyễn authored
-
- Mar 04, 2015
-
-
Kim Nguyễn authored
because they appeared both on negative and positive occurences in bdds that are equivalent to the empty type. For instance t = ('a | (Int\'a) | Int) We use product normalization to clean up this. Use the new debugging infrastructure to see what is going on during constraint solving.
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
Kim Nguyễn authored
Add a workaround in case pattern compilation failed (after typechecking) due to the presence of type variables in some types.
-
- Mar 03, 2015
-
-
Kim Nguyễn authored
Fix a stupid typo which made the constraint solver prefer monomorphic variables over polymorphic ones. This prevented one from applying a polymorphic function in the body of another function.
-
- Feb 28, 2015
-
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
Kim Nguyễn authored
Make it so that the substitution function preserves as much sharing as possible from the original type.
-
- Feb 27, 2015
-
-
-
Kim Nguyễn authored
-
- Feb 26, 2015
-
-
Kim Nguyễn authored
-
Kim Nguyễn authored
-
- Feb 21, 2015
-
-
Kim Nguyễn authored
-
Kim Nguyễn authored
This reverts commit a8ba6ab6. This commit introduces a regression where suprious type variables are introduced in the final type.
-
- Feb 20, 2015
-
-
Kim Nguyễn authored
-
Kim Nguyễn authored
Seal the representation of SortedList.Make(X).t (by making the type private). Expose Var.Set as a SortedList.S
-