[
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: | -- (:) |
| From: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] Toplevel Wish |
On Friday 10 February 2006 03:05, Eric Cooper wrote:
> # module P = Printf;;
> module P :
> sig
> val fprintf : out_channel -> ('a, out_channel, unit) format -> 'a
> val printf : ('a, out_channel, unit) format -> 'a
> ....
> end
Or if you don't want to pollute the namespace with a module called P:
# module Printf = Printf;;
module Printf :
sig
val fprintf : out_channel -> ('a, out_channel, unit) format -> 'a
val printf : ('a, out_channel, unit) format -> 'a
...
end
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists