Plutonomicon / plutarch-core

Plutarch 2.0
MIT License
19 stars 6 forks source link

Figure out how to make foralls more ergonomic #2

Closed L-as closed 1 year ago

L-as commented 2 years ago

EForall1, EForall2, etc. might be a good first step. It gets more complex if you want to supported lifted types, i.e. DataKinds, as kinds in the eDSL.

L-as commented 2 years ago

We probably just want type PForallN :: (f :: NP PHsW as -> PType) -> PType.