coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: roconnor AT theorem.ca
- To: Coq Club <coq-club AT pauillac.inria.fr>
- Subject: [Coq-Club] Re: non-uniform parametric types challenge
- Date: Tue, 1 Mar 2005 10:38:56 -0500 (EST)
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
On Tue, 1 Mar 2005
roconnor AT theorem.ca
wrote:
> > gfold :: (forall a. m a -> n a) ->
> > (forall a. n a -> n a -> n a) ->
> > (forall a. n (Maybe a) -> n a) ->
> > (forall a. (Maybe (m a)) -> m (Maybe a)) ->
> > Lambda (m a) -> n B
> > gfold v a l k (Var x) = v x
> > gfold v a l k (App x y) = a (gfold v a l k x) (gfold v a l k y)
> > gfold v a l k (Lambda x) = l (gfold v a l k (lift x))
oops, this last line should instead read
> gfold v a l k (Lambda x) = l (gfold v a l k (lift x k))
where lift :: (Lambda a) -> (a -> b) -> (Lambda b) is the obvious
function.
(Indeed I should be using k somewhere).
--
Russell O'Connor <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''
- [Coq-Club] non-uniform parametric types challenge, roconnor
- Re: [Coq-Club] non-uniform parametric types challenge, roconnor
- [Coq-Club] Re: non-uniform parametric types challenge, roconnor
- Re: [Coq-Club] Re: non-uniform parametric types challenge, roconnor
- [Coq-Club] Impredicate Set requirement.,
roconnor
- [Coq-Club] Non-uniform parametric inductive types,
roconnor
- Re: [Coq-Club] Non-uniform parametric inductive types, Christine Paulin
- Re: [Coq-Club] Non-uniform parametric inductive types,
Hugo Herbelin
- Re: [Coq-Club] Non-uniform parametric inductive types, Bas Spitters
- Re: [Coq-Club] Impredicate Set requirement., Claudio Sacerdoti Coen
- [Coq-Club] Non-uniform parametric inductive types,
roconnor
Archive powered by MhonArc 2.6.16.