File: MonadCont.v

package info (click to toggle)
coq-ext-lib 0.13.0-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 808 kB
  • sloc: makefile: 44; python: 31; sh: 4; lisp: 3
file content (8 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
(** The Cont Monad Class
 **)
Require Import ExtLib.Structures.Monad.

Class Cont (m : Type -> Type) : Type :=
{ callCC : forall a b, ((a -> m b) -> m a) -> m a }.

Arguments callCC {m Cm} {_ _} _ : rename.