Added linting suggestions

This commit is contained in:
Jack Hodgkinson 2022-03-04 09:30:53 +00:00
parent 43cd0c4507
commit 1bfa0f5b6d
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ newtype PTreasuryDatum (s :: S)
{- | Plutarch level type representing valid redeemers of the
treasury.
-}
data PTreasuryRedeemer (s :: S)
newtype PTreasuryRedeemer (s :: S)
= -- | Alters treasury parameters (subject to the burning of a
-- governance authority token).
PAlterTrParams (Term s (PDataRecord '[]))

View file

@ -27,7 +27,7 @@ pmapAll ::
(PUnsafeLiftDecl v, PIsData v) =>
Term s ((v :--> PBool) :--> PMap k v :--> PBool)
pmapAll = plam $ \f m -> P.do
PMap builtinMap <- pmatch $ m
PMap builtinMap <- pmatch m
let getV = plam $ \bip -> P.do
let tuple = pfromData $ ptupleFromBuiltin (pdata bip)