mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
90200ab6de
- Depends on #2481 This pr allows inductive type parameters to be any type. Until now, they had to be exactly `Type`. This allows us to define more general traits such as the `Monad` and `Functor`, as shown in the new test. This is only supported under the temporary `--new-typechecker` flag. Pending work: Update the positivity checker if necessary (@jonaprieto). Update the necessary compilation steps in Core (@lukaszcz). Add compilation tests. |
||
---|---|---|
.. | ||
Negative.hs | ||
Positive.hs | ||
PositiveNew.hs |