Closed lemmon-714 closed 1 year ago
Where does hif come from?
It is used without explicit definition in the beginning of the file as haskell-if (can't use regular if-then-else because of the then-else, which the pif lacks). Would assume it has the definition
hif :: Bool -> a -> a
hif cond whenTrue whenFalse = if cond then whenTrue else whenFalse
Shall I add it?
Yes please
Superceded by https://github.com/Plutonomicon/plutarch-plutus/pull/608
Thanks for your work!
hif
", as we are in Haskell-land again. I don't know if regularpif
is Haskell-land as well; if so, imo should be renamed as well.pif'
, notpif
hif
is already used in the beginning, renamed tohif'