-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
❓ invalidThis doesn't seem rightThis doesn't seem right🔚 backendsBackend runtime or code generationBackend runtime or code generation🔧 compilerIssue concerns the compilerIssue concerns the compiler
Description
Equality in the backends is at the moment handled by https://github.com/CatalaLang/catala/blob/master/compiler/lcalc/expand_op.ml , which ensures comptibility between the backends, but is a quick-and-dirty placeholder.
Improvements desired:
- lift the equality computation functions when non-trivial (currently everything is inlined)
- add a primitive for comparing the enumeration constructors: at the moment we rely on quadratic, nested pattern-matches
Metadata
Metadata
Assignees
Labels
❓ invalidThis doesn't seem rightThis doesn't seem right🔚 backendsBackend runtime or code generationBackend runtime or code generation🔧 compilerIssue concerns the compilerIssue concerns the compiler
Type
Projects
Status
Todo