[
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: | Hugo Ferreira <hmf@i...> |
| Subject: | Re: [Caml-list] ocamlbuild - ocamlfind_query definition won't compile |
Hello, My apologies for the noise. Hugo Ferreira wrote: > Hello, > > I have been looking at several examples that use ocamlfind to > add a library to the ocamlbuild process. An example is: > > > let ocamlfind_query pkg = > let cmd = Printf.sprintf "ocamlfind query %s" (Filename.quote pkg) in > My_unix.run_and_open cmd (fun ic -> > Log.dprintf 5 "Getting Ocaml directory from command %s" cmd; > input_line ic) > > Problem is I forgot to add the ";;" Hugo F. > However I get the following error: > > Error: This expression has type string but an expression was expected of > type > 'a -> 'b -> 'c > > > I am using version 3.11.2. Can anyone tell me what I'm making the error? > > TIA, > Hugo F. > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >