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] Slight parsing difference with/without -pp "camlp4o"
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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]

--------------------------------------------------------- --
let f = fun (year, week) as yw -> 1

	$ ocamlc -c
	File "", line 1, characters 25-27:
	Syntax error

But ...

	$ ocamlc -pp "camlp4o" -c


Richard Jones.
Merjis Ltd. - 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 Archives:
Bug reports: FAQ:
Beginner's list: