Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Re: coq proof of fermat's last theorem

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Re: coq proof of fermat's last theorem


chronological Thread 
  • From: Ian Lynagh <igloo AT earth.li>
  • To: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Re: coq proof of fermat's last theorem
  • Date: Thu, 2 Apr 2009 16:04:52 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Thu, Apr 02, 2009 at 04:53:40PM +0200, Guillaume Melquiond wrote:
> 
>         Require Import String.
>         (* Definition my_string := "*)"%string. *)
>         Definition my_string := "let's try something else"%string.

Perhaps (* and *) should not be allowed in string literals.
You would have to write

Definition my_string := "*" ++ ")"%string.

instead (or whatever string append looks like in coq). Or in Haskell,
you could write it as, for example, "*\&)" or "\42)"; I don't know if
coq has a similar syntax.


Thanks
Ian





Archive powered by MhonArc 2.6.16.

Top of Page