* camlp4 and private rows ?
@ 2006-11-17 3:27 Pietro Abate
0 siblings, 0 replies; only message in thread
From: Pietro Abate @ 2006-11-17 3:27 UTC (permalink / raw)
To: ocaml ml
Hi all,
I've this snippet of code:
----------
type st = [ `A ]
module Make(T: sig type t end with type t = private [> st ] )
= struct
let test = 1
end
-----------
it compiles fine with ocamlc , but it fails with camlp4 ...
ocamlfind ocamlc -c -pp "camlp4o -I . pa_extend.cmo q_MLast.cmo " -I /usr/lib/ocaml/3.09.2/camlp4 pr.ml
File "pr.ml", line 4, characters 44-51:
Parse error: [type] expected after '=' (in [with_constr])
Uncaught exception: Stream.Error("[type] expected after '=' (in [with_constr])")
Preprocessor error
Did I miss something ?
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-17 3:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17 3:27 camlp4 and private rows ? Pietro Abate
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox