English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Modules with strange names
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-08-05 (11:19)
From: Richard Jones <rich@a...>
Subject: [Caml-list] Modules with strange names
I've just discovered (on 3.07) that it's possible to create modules
with strange names.  Such modules cannot be opened, except perhaps
with Dynlink.  Bug or feature?

$ vi '$test-123$.ml'
$ ocamlc -c '$test-123$.ml' -o '$test-123$.cmo'
$ ocamlobjinfo '$test-123$.cmo'  
File $test-123$.cmo
  Unit name: $test-123$
  Interfaces imported:
        02d2d3ecd468bb4b226a0591e2ef2bac        Pervasives
        f9ffe6b499332d6552ff0327ccf04812        $test-123$
  Uses unsafe features: no


Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
http://www.YouUnlimited.co.uk/ - management courses

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