Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Question regarding Coq Notationn

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Question regarding Coq Notationn


Chronological Thread 
  • From: Jason Gross <jasongross9 AT gmail.com>
  • To: t x <txrev319 AT gmail.com>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Question regarding Coq Notationn
  • Date: Wed, 28 Aug 2013 00:21:45 -0400

I have not looked at your code, but error messages about products generally indicate that you gave it a function where it was not expecting one, or vice versa.  (Function types are also called pi types or dependent products.)

-Jason

On Aug 28, 2013 12:19 AM, "t x" <txrev319 AT gmail.com> wrote:
Hi,

  Here is my minimal failure example:

https://gist.github.com/anonymous/df6b5d1cf5a81592ea4d

  I'm trying to build a variant of "<-" of the Maybe Monad where I can pull out either a Z or a Bool.

  However, I'm getting an error about some "product" rather than a myOpt.

  What am I doing wrong, and how do I fix this?

Thanks!



Archive powered by MHonArc 2.6.18.

Top of Page