1. 26 Oct, 2013 2 commits
    • Andrei Paskevich's avatar
      Pattern: add compile_bare which does not require known_map · 43aeab83
      Andrei Paskevich authored
      In pattern compilation, we only need to know the full list of
      constructors for a given type, whenever
      1. we want to check that a symbol used in a pattern is indeed
         a constructor;
      2. we want to check for non-exhaustive matching and return an
         example of a non-covered pattern, if any.
      Thus, we need to give Pattern.compile access to the current
      known_map whenever we check new declarations in Decl or Mlw_decl.
      However, once we have checked the patterns, we do not need the
      full constructor lists just to compile the match expressions.
      Just knowing the number of constructors (provided in ls_constr)
      is enough to detect non-exhaustive matching during compilation.
      43aeab83
    • Andrei Paskevich's avatar
      Dexpr.dpattern and Dexpr.dexpr · c6e73ee5
      Andrei Paskevich authored
      c6e73ee5
  2. 25 Oct, 2013 1 commit
  3. 24 Oct, 2013 2 commits
  4. 23 Oct, 2013 1 commit
  5. 22 Oct, 2013 1 commit
  6. 19 Oct, 2013 2 commits
  7. 05 Oct, 2013 4 commits
  8. 04 Oct, 2013 7 commits
  9. 01 Oct, 2013 2 commits
  10. 29 Sep, 2013 1 commit
  11. 28 Sep, 2013 1 commit
  12. 25 Sep, 2013 8 commits
  13. 24 Sep, 2013 1 commit
  14. 23 Sep, 2013 5 commits
  15. 22 Sep, 2013 1 commit
  16. 21 Sep, 2013 1 commit