Skip to content
Success

Changes

Summary

  1. patterns: move Parmatch.Pattern_head into Patterns.Head (commit: ffb6cae) (details)
  2. make depend (commit: e880ec3) (details)
  3. [minor] matching: rename Non_empty_clause.{map_head => map_first} (commit: 54b79d3) (details)
  4. matching: separate types for rows and clauses (commit: f5f4ba6) (details)
  5. patterns: reuse ('a Typedtree.pattern_) to define Patterns.Head.t (commit: 0e979b7) (details)
  6. matching: move (Non_empty_row, views, General) to patterns.ml (commit: 4d6267d) (details)
  7. matching: move {general,simple,half_simple}_view to Patterns (commit: e19a3af) (details)
  8. matching: use pattern views in Parmatch as well (commit: 68dc87c) (details)
  9. Changes (commit: 229df94) (details)
  10. make check-typo happy (commit: 9ca2a35) (details)
  11. fixup! matching: use pattern views in Parmatch as well (commit: 1ee6ee4) (details)
Commit ffb6caef8b9ab890fd60ee6f96fdacba294bbbb6 by gabriel.scherer
patterns: move Parmatch.Pattern_head into Patterns.Head

The aim is to also move the Simple/Half_simple/General stuff from
matching, but we need to split in those modules the part that are
purely structural (they go in Patterns) and the parts that are
actually compilation logic (Half_simple.of_clause), those stay in
Matching.
(commit: ffb6cae)
The file was addedtyping/patterns.ml
The file was modifiedlambda/matching.ml (diff)
The file was addedtyping/patterns.mli
The file was modified.depend (diff)
The file was modifieddune (diff)
The file was modifiedtyping/parmatch.ml (diff)
The file was modifiedtyping/parmatch.mli (diff)
The file was modifiedcompilerlibs/Makefile.compilerlibs (diff)
The file was modified.depend (diff)
Commit 54b79d3b27c5496aeb7573cb2af97a33ef30de15 by gabriel.scherer
[minor] matching: rename Non_empty_clause.{map_head => map_first}
(commit: 54b79d3)
The file was modifiedlambda/matching.ml (diff)
Commit f5f4ba67a9df11af1c6c9cbd585f096694f2615a by gabriel.scherer
matching: separate types for rows and clauses

"rows" are common abstraction of both pattern analysis and
compilation, but clauses carrying a Lambda.t term are
compilation-specific. Separating rows will thus enable moving more
logic to typing/patterns for use in both settings.
(commit: f5f4ba6)
The file was modifiedlambda/matching.ml (diff)
Commit 0e979b7ea9482cb853d9d1afd029149525c3bfa0 by gabriel.scherer
patterns: reuse ('a Typedtree.pattern_) to define Patterns.Head.t
(commit: 0e979b7)
The file was modifiedtyping/parmatch.ml (diff)
The file was modifiedlambda/matching.ml (diff)
The file was modifiedtyping/patterns.mli (diff)
The file was modifiedtyping/patterns.ml (diff)
Commit 4d6267d3bad80b0b40894d1ae462aa3c466bebed by gabriel.scherer
matching: move (Non_empty_row, views, General) to patterns.ml
(commit: 4d6267d)
The file was modifiedtyping/patterns.ml (diff)
The file was modifiedlambda/matching.ml (diff)
The file was modifiedtyping/patterns.mli (diff)
Commit e19a3afcb472c57273139aa4ab0a72035f43336e by gabriel.scherer
matching: move {general,simple,half_simple}_view to Patterns
(commit: e19a3af)
The file was modifiedlambda/matching.ml (diff)
The file was modifiedtyping/patterns.ml (diff)
The file was modifiedtyping/patterns.mli (diff)
Commit 68dc87c9e93b895cf6162dc861c6cbc3dd2a91ec by gabriel.scherer
matching: use pattern views in Parmatch as well
(commit: 68dc87c)
The file was modifiedtyping/parmatch.ml (diff)
The file was modifiedlambda/matching.ml (diff)
The file was modifiedtyping/patterns.ml (diff)
The file was modifiedtyping/patterns.mli (diff)
The file was modifiedtyping/parmatch.mli (diff)
The file was modifiedChanges (diff)
The file was modifiedtyping/patterns.mli (diff)
The file was modifiedtyping/parmatch.ml (diff)
The file was modifiedtyping/parmatch.mli (diff)
The file was modifiedtyping/patterns.ml (diff)
Commit 1ee6ee419436212d08c3fc1a9cdcc85af5a41a17 by gabriel.scherer
fixup! matching: use pattern views in Parmatch as well
(commit: 1ee6ee4)
The file was modifiedtyping/patterns.mli (diff)
The file was modifiedtyping/patterns.ml (diff)
The file was modifiedlambda/matching.ml (diff)
The file was modifiedtyping/parmatch.ml (diff)