Browse thread
changing the name of an imported module
-
Michael Vanier
- Stéphane Glondu
-
Christophe TROESTLER
- Michael Vanier
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2008-06-16 (04:31) |
From: | Michael Vanier <mvanier@c...> |
Subject: | Re: [Caml-list] changing the name of an imported module |
Thanks! That's just what I need. Do you know if there is any performance cost to using e.g. U.f instead of Unix.f? I wouldn't think so. Mike Christophe TROESTLER wrote: > On Sat, 14 Jun 2008 21:53:32 -0700, Michael Vanier wrote: >> Is there any way in Ocaml to change the name of an imported module, >> sort of like Haskell's "import qualified" or Python's "import foobar >> as f"? It's certainly something I could use. > > module U = Unix > > will allow to use U.f instead of Unix.f > > Cheers, > ChriS