diff options
| author | Pierre-Marie Pédrot | 2020-06-23 13:53:11 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-07-27 19:01:46 +0200 |
| commit | 82caf82d9d2282b00771d38b8b607a134497b192 (patch) | |
| tree | 1ff295b95ed505ba66887cefe446ceedac9ac87b /plugins/syntax/int63_syntax_plugin.mlpack | |
| parent | 9d8efb01fde0f9e24157872213c0595cc72efc0c (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/int63_syntax_plugin.mlpack')
0 files changed, 0 insertions, 0 deletions
