Version française
Home     About     Download     Resources     Contact us    
Browse thread
prefix ::
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Monniaux <David.Monniaux@e...>
Subject: prefix ::
Hi,

In order to east the export of Coq programs to Caml, I'd like to be able 
to tell Coq that "cons" on list is OCaml's :: operator. Unfortunately, 
it is syntactically incorrect to write:
match l with
  [] -> foobar
| ::(x,y) -> blabla

This is a little annoying. Is there anything to do about this?

Thanks,