Skip to Content.
Sympa Menu

coq-club - [Coq-Club] inl and inr with both arguments inferred?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] inl and inr with both arguments inferred?


chronological Thread 
  • From: Thorsten Altenkirch <txa AT Cs.Nott.AC.UK>
  • To: Coq Club <coq-club AT pauillac.inria.fr>
  • Subject: [Coq-Club] inl and inr with both arguments inferred?
  • Date: Mon, 26 Oct 2009 17:25:53 +0000
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Hi,

for my lecture I'd like to use sums (i.e. coproducts) so that both arguments of injections are inferred. Set Implicit Contextual doesn't seem to do the trick. Is there a way?

Set Contextual Implicit.
Definition ex2 : nat + bool := inl  black.

doesn't work.

Obviously, I'd prefer not to have to redefine the library functions...

Cheers,
Thorsten


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.





Archive powered by MhonArc 2.6.16.

Top of Page