Skip to content

Commit

Permalink
Hoist ChooseList and MkCons synonyms
Browse files Browse the repository at this point in the history
  • Loading branch information
TotallyNotChase committed Jan 7, 2022
1 parent ef0ea82 commit c1971eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plutarch/Builtin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ ptailBuiltin :: Term s (PBuiltinList a :--> PBuiltinList a)
ptailBuiltin = phoistAcyclic $ pforce $ punsafeBuiltin PLC.TailList

pchooseListBuiltin :: Term s (PBuiltinList a :--> b :--> b :--> b)
pchooseListBuiltin = pforce $ pforce $ punsafeBuiltin PLC.ChooseList
pchooseListBuiltin = phoistAcyclic $ pforce $ pforce $ punsafeBuiltin PLC.ChooseList

pnullBuiltin :: Term s (PBuiltinList a :--> PBool)
pnullBuiltin = phoistAcyclic $ pforce $ punsafeBuiltin PLC.NullList

pconsBuiltin :: Term s (a :--> PBuiltinList a :--> PBuiltinList a)
pconsBuiltin = pforce $ punsafeBuiltin PLC.MkCons
pconsBuiltin = phoistAcyclic $ pforce $ punsafeBuiltin PLC.MkCons

--------------------------------------------------------------------------------

Expand Down

0 comments on commit c1971eb

Please sign in to comment.