Skip to content

Commit

Permalink
Use tilded 'data' instead of 'newtype'
Browse files Browse the repository at this point in the history
  • Loading branch information
effectfully committed Jun 19, 2024
1 parent d1637d6 commit b0da22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plutus-tx/src/PlutusTx/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mustBeReplaced placeholder =
\core-to-plc plugin during compilation."

-- | Delay evalaution of the expression inside the 'Delay' constructor.
newtype Delay a = Delay (forall b. a)
data Delay a = Delay ~(forall b. a)

-- | Force the evaluation of the expression delayed by the 'Delay'.
force :: Delay a -> a
Expand Down

0 comments on commit b0da22d

Please sign in to comment.