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] Toplevel loading of modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Patrick M Doane <patrick@w...>
Subject: [Caml-list] Toplevel loading of modules
Now that Caml 3.04 can dynamically load C code, we should hopefully be
able to put to rest the FAQ about how to use the Unix module.

Unlike other standard libraries though, the Unix library must still be
explicitly loaded:

        Objective Caml version 3.04

# Unix.time ();;
Reference to undefined global `Unix'
# #load "unix.cma";;
# Unix.time ();;
- : float = 1008347555

Would it make sense to try auto-loading a module when the "Reference to
undefined global" error message occurs?


Bug reports:  FAQ:
To unsubscribe, mail  Archives: