Browse thread
polymorphic variants and camlp4
- Pietro Abate
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Pietro Abate <Pietro.Abate@a...> |
| Subject: | polymorphic variants and camlp4 |
Hi all,
What is the syntax to use polymorphic variants with camlp4 ?
<:str_item< type a = A >> is ok, but <:str_item< type a = [ `A ] >>
doesn't work as expected...
While expanding quotation "str_item":
Parse error: '=' or '>' or '<' or [a_list] or [constructor_declaration]
expected after '[' (in [type])
Uncaught exception: Pcaml.Qerror("str_item", 1, _)
When is the new version of camlp4/3.10 due ?
(this month, next month, next year) ?
thanks :)
p
--
++ Blog: http://blog.rsise.anu.edu.au/?q=pietro
++
++ "All great truths begin as blasphemies." -George Bernard Shaw
++ Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html