Skip to content

Commit 91745ac

Browse files
authored
Merge pull request #74 from jqyu/master
Generalizes callCC to be rank 2
2 parents 676de82 + 943b943 commit 91745ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Control/Monad/Cont/Class.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ import Prelude (class Monad)
2222
-- | An implementation is provided for `ContT`, and for other monad transformers
2323
-- | defined in this library.
2424
class Monad m <= MonadCont m where
25-
callCC :: forall a b. ((a -> m b) -> m a) -> m a
25+
callCC :: forall a. ((forall b. a -> m b) -> m a) -> m a

0 commit comments

Comments
 (0)