Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] type constructor escape its scope
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Basile STARYNKEVITCH <basile.starynkevitch@c...>
Subject: [Caml-list] type constructor escape its scope
Hello List,

[[I'm a bit sick today so brain is badly working... probably a trivial
question I would be ashamed to ask on normal days.. sorry...]]

I compile a selfcontained camlp4 stuff.

You can get it from 

http://www2.poesia-filter.org:8000/cgi-bin/cvsweb.cgi/~checkout~/PoesiaSoft/PoesiaMonIcap/pa_filtproto.ml?rev=1.3&content-type=text/plain

It is the pa_filtproto.ml file in PoesiaSoft/PoesiaMonIcap/ revision
1.3 under CVS on www.poesia-filter.org

I've got when compiling with  
  ocamlc -pp "camlp4o pa_extend.cmo" -I +camlp4 -I . -c pa_filtproto.ml 
the strange message 

File "pa_filtproto.ml", line 60, characters 7-41:
This expression has type definition_t but is here used with type 'a
The type constructor definition_t would escape its scope

However, definition_t is a type defined in line 37 of the same file

any clues?

Thanks....


N.B. Any opinions expressed here are only mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.

---------------------------------------------------------------------
Basile STARYNKEVITCH   ----  Commissariat à l Energie Atomique * France
DRT/LIST/DTSI/SLA * CEA/Saclay b.528 (p111f) * 91191 GIF/YVETTE CEDEX 
phone:+33 1,6908.6055; fax: 1,6908.8395 home: 1,4665.4553; mobile: 6,8501.2359
work email: Basile point Starynkevitch at cea point fr 
home email: Basile at Starynkevitch point net

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