Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Using List Notation

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Using List Notation


Chronological Thread 
  • From: t x <txrev319 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Using List Notation
  • Date: Mon, 2 Sep 2013 06:20:42 +0000

Hi,

  I'm trying to use Coq's List Notation of [ .. ; .. ; .. ].

  I try the following:

Require Import List.
Local Open Scope list_scope.

Eval compute in [1; 2].

  Instead of getting a (1 :: 2 :: nil), I get back

  Syntax error: [constr: lconstr] expected after 'in' ...

What am I doing wrong?



Archive powered by MHonArc 2.6.18.

Top of Page