Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- class PolyCont k r a where
Documentation
class PolyCont k r a where Source #
A use case of an ad-hoc polymorphic delimited continuation.
Note that a PolyCont
is not a polymorphic delimited continuation,
since a PolyCont
does not support answer type modification.
runPolyCont :: k r' a -> (a -> r) -> r Source #
Run as a CPS function .