Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
L-as committed Jan 17, 2022
1 parent 0948627 commit 60ffac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plutarch/Monadic.hs
Expand Up @@ -4,7 +4,7 @@ import Prelude hiding (fail, (>>), (>>=))

import Data.String (fromString)
import Plutarch.Prelude
import Plutarch.Trace (ptrace)
import Plutarch.Trace (ptraceError)

(>>=) :: a -> a
(>>=) = id
Expand All @@ -13,4 +13,4 @@ import Plutarch.Trace (ptrace)
(>>) = id

fail :: String -> Term s a
fail msg = ptrace (fromString msg) perror
fail msg = ptraceError (fromString msg)

0 comments on commit 60ffac6

Please sign in to comment.