Open peter-mlabs opened 1 month ago
Note that this is particularly an issue because of this.
Also, we should probably indicate that "gotcha" in the Interval module and haddock comments.
Following that comment, if it isn't supported in Plutus, why support it in Plutarch at all?
@L-as Its support in plutus-ledger-api
, so I think it does make sense for compatibility reasons.
But I still think that we should have a separate library that actually does what PLA "means" and not what it "does"
plutus-ledger-api
Fair reason, but arguably even then you should never use it. You could mark it as deprecated but still fix it.
It appears that
pcontains
is not working properly.As far as I can tell, it works when the upper bound for both are closed, but not when one is open. We should have the $[120, 129) \subseteq [120, 129]$, but we don't.