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
[Caml-list] camlp4 choking on type constraints
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-10-14 (02:34)
From: Eric Stokes <eric.stokes@c...>
Subject: [Caml-list] camlp4 choking on type constraints
I'm having a strange problem with camlp4o under 3.07. It seems to be 
choking, with a bizarre error message, on a simple type constraint. 
Here is an example.

-------- code excert ----------
(** Adds a new entry to the ldap database. *)
val add_s : conn -> dn:string -> attr:modattr list -> unit

-------- error -------------------
camlp4o pa_ifdef.cmo pr_o.cmo  -o ocamldap.mli -intf ocamldap.mli4
File "ocamldap.mli4", line 159, characters 30-31:
Parse error: '->' expected after [type level star] (in [type])

Anybody know what's going on here?

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: