Browse thread
[Caml-list] Slight parsing difference with/without -pp "camlp4o"
- Richard Jones
[
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: | Richard Jones <rich@a...> |
| Subject: | [Caml-list] Slight parsing difference with/without -pp "camlp4o" |
[This is with OCaml 3.07 - not checked with 3.08] --------------------------------------------------------- pptest.ml -- let f = fun (year, week) as yw -> 1 ---------------------------------------------------------------------- $ ocamlc -c pptest.ml File "pptest.ml", line 1, characters 25-27: Syntax error But ... $ ocamlc -pp "camlp4o" -c pptest.ml $ Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment 'There is a joke about American engineers and French engineers. The American team brings a prototype to the French team. The French team's response is: "Well, it works fine in practice; but how will it hold up in theory?"' ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners