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] 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.
Merjis Ltd. - improving website return on investment - management courses

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: