aboutsummaryrefslogtreecommitdiff
path: root/plugins/syntax/string_notation_plugin.mlpack
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-06-23 13:53:11 +0200
committerPierre-Marie Pédrot2020-07-27 19:01:46 +0200
commit82caf82d9d2282b00771d38b8b607a134497b192 (patch)
tree1ff295b95ed505ba66887cefe446ceedac9ac87b /plugins/syntax/string_notation_plugin.mlpack
parent9d8efb01fde0f9e24157872213c0595cc72efc0c (diff)
Do not rely on higher-order interfaces for patterns in dnets.
The old API was taking a function to decompose constr patterns into dnet patterns, but it was applying it in an eager way. So there is not point in exposing such a complex interface. Instead, we make explicit the dnet pattern type, export a function that turns a constr pattern into a dnet pattern, and make the add and remove dnet functions take a dnet pattern instead. This only affects pattern-consuming functions. The lookup function, which operates on kernel terms instead of constr patterns, is still relying on HO primitives.
Diffstat (limited to 'plugins/syntax/string_notation_plugin.mlpack')
0 files changed, 0 insertions, 0 deletions