Skip to content

Commit

Permalink
Bring back withFrozenCallStack to emptyEff
Browse files Browse the repository at this point in the history
  • Loading branch information
arybczak committed Oct 22, 2024
1 parent 86e633b commit eda264f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion effectful-core/src/Effectful/NonDet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ runNonDetRollback = reinterpret setup $ \env -> \case
--
-- @since 2.2.0.0
emptyEff :: (HasCallStack, NonDet :> es) => Eff es a
emptyEff = send Empty
emptyEff = withFrozenCallStack send Empty

-- | Specialized version of '<|>' with the `HasCallStack` constraint for
-- tracking purposes.
Expand Down

0 comments on commit eda264f

Please sign in to comment.