Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] How to define the free monad generated by a functor?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] How to define the free monad generated by a functor?


chronological Thread 
  • From: Andre.HIRSCHOWITZ AT unice.fr
  • To: Yongji Li <dragonlyj AT gmail.com>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] How to define the free monad generated by a functor?
  • Date: Mon, 02 Mar 2009 11:02:21 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Hello,
Before clever answers arrive, let me do a possibly silly suggestion

Inductive FreeMonad (F:Type->Type)(X:Type): Type:=
          | eta: X -> FreeMonad F X
         | mu: FreeMonad F (F X) -> FreeMonad F X.


ah





Archive powered by MhonArc 2.6.16.

Top of Page