Closed L-as closed 2 years ago
I feel like we need type classes at the type level to do this.
Maybe we don't need the variability in the interpretation at the type-level, monomorphising it to an "evaluating" interpretation, i.e. identifying EBool
at the type-level with standard Bool
in some way, might be enough.
Examples/DataKinds
This is probably not easy.