mirror of
https://github.com/anoma/juvix.git
synced 2025-01-05 22:46:08 +03:00
dd16274a24
* Restricts permutative conversions for case-expressions to non-booleans. This reduces the blow-up a bit. Permutative conversions rewrite ``` case (case M | C1 -> A1 | C2 -> A2) | D1 -> B1 | D2 -> B2 ``` to ``` case M | C1 -> case A1 | D1 -> B1 | D2 -> B2 | C2 -> case A2 | D1 -> B1 | D2 -> B2 ``` It is necessary to perform them for non-boolean A1/A2 to obtain the right kind of normal forms. * Adds a test demonstrating the necessity of permutative conversions for non-booleans. |
||
---|---|---|
.. | ||
Asm | ||
Compile | ||
Eval | ||
Normalize | ||
Recursor | ||
Transformation | ||
VampIR | ||
Asm.hs | ||
Compile.hs | ||
Eval.hs | ||
Normalize.hs | ||
Print.hs | ||
Recursor.hs | ||
Transformation.hs | ||
VampIR.hs |