Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
prefix ::
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-06 (22:17)
From: David Monniaux <David.Monniaux@e...>
Subject: prefix ::

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?