Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlscript and revised syntax
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: SerP <serp@s...>
Subject: ocamlscript and revised syntax
Hello, list.
I'am try to using ocamlscript 2.0.2, and find this bug.

It's work great:
----------------------------------------------------------------
#! /usr/bin/env ocamlscript
Ocaml.revised := true
--
value () = print_endline "Hello word";
---------------------------------------------------------------

But when I'am add Ocaml.packs, revised syntax is switched off.
---------------------------------------------------------------
#! /usr/bin/env ocamlscript
Ocaml.packs := ["extlib"];
Ocaml.revised := true
--
value () = print_endline "Hello word";
--------------------------------------------------------