Conversation
|
With regards to enums, it would also be nice to have a variant of |
Interesting idea. I don't know if the plutus core spec though has to be modified to account for this optimization. |
a9ecb70 to
47ec226
Compare
I think I will add it in another PR as |
3e5d463 to
d8cb9f1
Compare
plutus-tx/plutus-tx.cabal
Outdated
| PlutusTx.Lift.TestInstances | ||
| PlutusTx.Lift.TH | ||
| PlutusTx.Lift.THUtils | ||
| PlutusTx.Enum.TH |
There was a problem hiding this comment.
cabal-fmt re-orders modules alphabetically, does it?
There was a problem hiding this comment.
Is cabal-fmt part of CI? I will run it manually
Added tests
d8cb9f1 to
33e1ac2
Compare
This is completely independent from core spec since it just changes how we generate some code. On the side note we can probably make a smart version of current TH helper that decides most efficient representation like Constr vs List vs I |
Pre-submit checklist: