1. 05 Nov, 2015 1 commit
    • Kim Nguyễn's avatar
      Fixed a bugs relating to polymorphic functions : · f65de6e8
      Kim Nguyễn authored
      - Part of the typechecking code was using the monomorphics subtyping function instead of the tallying (when checking the body of a function)
      - The function Var.gen that was generating new versions of typed variable names was not properly incrementing its internal counter, thus generating the same name for two distinct variables.
      f65de6e8
  2. 03 Nov, 2015 1 commit
  3. 27 Aug, 2015 1 commit
  4. 25 Aug, 2015 1 commit
  5. 08 May, 2015 1 commit
    • Kim Nguyễn's avatar
      Do not add constraints of the form s <= 'a <= t, for monomorphic alpha's, just... · 2ee30016
      Kim Nguyễn authored
      Do not add constraints of the form s <= 'a <= t, for monomorphic alpha's, just check that the constraint holds for all substitution and replace it with a universal Sat or Unsat. This prevent the algorithm from introducing dummy substitutions later on of the form 'a <- 'a which interact badly with type cleaning (replacing covariant/contra-variant occurences by Empty/Any).
      2ee30016
  6. 02 Apr, 2015 1 commit
  7. 30 Mar, 2015 1 commit
  8. 18 Mar, 2015 1 commit
  9. 28 Feb, 2015 1 commit
  10. 20 Feb, 2015 1 commit
  11. 19 Feb, 2015 1 commit
  12. 06 Dec, 2014 1 commit
  13. 16 Oct, 2014 1 commit
  14. 03 Oct, 2014 1 commit
  15. 19 Sep, 2014 1 commit
  16. 16 Sep, 2014 1 commit
    • Pietro Abate's avatar
      Make fresh variables really fresh · c9ad3e5c
      Pietro Abate authored
      Add a global variable table, so when we call "Var.mk id" twice, the
      same variable is returned and when we call "Var.fresh v" we always
      return a truly globally fresh variable.
      c9ad3e5c
  17. 28 Aug, 2014 1 commit
    • Pietro Abate's avatar
      More var.ml cleanup · 737730a2
      Pietro Abate authored
      - Var identifiers are now of type U.t instead of string
      - Remove TVar from ast. Polymorphic variables are just types
      737730a2
  18. 26 Aug, 2014 2 commits
  19. 21 Aug, 2014 1 commit
  20. 14 Jul, 2014 1 commit
  21. 08 Jul, 2014 2 commits
  22. 28 Jun, 2014 1 commit
  23. 27 Jun, 2014 1 commit
  24. 26 Jun, 2014 3 commits
  25. 23 Jun, 2014 1 commit
  26. 16 May, 2014 1 commit
  27. 06 May, 2014 1 commit
  28. 24 Apr, 2014 1 commit
  29. 23 Apr, 2014 1 commit
  30. 17 Apr, 2014 1 commit
  31. 11 Apr, 2014 1 commit
  32. 19 Mar, 2014 1 commit
  33. 13 Mar, 2014 1 commit
    • Pietro Abate's avatar
      More bug fix · 796f7ee6
      Pietro Abate authored
      - fix one more problem with internalize
      - fix variance/contravariance problem in substituterec
      - cleanup
      796f7ee6
  34. 06 Mar, 2014 1 commit
    • Pietro Abate's avatar
      Tallying.apply algorithm · 9f21074b
      Pietro Abate authored
      - performance improvements (add memoization)
      - fix infinite loops due to recursive structures
      - add apply tests (kim)
      9f21074b
  35. 18 Feb, 2014 1 commit
  36. 17 Feb, 2014 1 commit