camlp4 under toplevel

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3994 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 2001-11-07 07:55:08 +00:00
parent feb0a2bdfc
commit 4174f885ba
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
FAQ: how to upgrade from Objective Caml 3.02 to 3.03-alpha
FAQ: how to upgrade from Objective Caml 3.02 to 3.03
I Installation
@ -18,14 +18,15 @@ Q2: I get a syntax error when I try to compile a program using stream
A2: Stream parser now require camlp4. It is included in the
distribution, and you just need to use "ocamlc -pp camlp4o" in
place of "ocamlc".
place of "ocamlc". You can also use it under the toplevel with
#load"camlp4o.cma".
Q3: I get a warning when I use the syntax "#variant" inside type
expressions.
A3: The new syntax is [< variant], which just a special case of
the more general new syntax, which allows type expressions like
[ variant1 | variant2] of [> variant]. See the reference manual
[ variant1 | variant2] or [> variant]. See the reference manual
for details.
III Label changes