Version française
Home     About     Download     Resources     Contact us    
Browse thread
A feature wish on Toplevel directives.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: sejourne_kevin <sejourne_kevin@y...>
Subject: A feature wish on Toplevel directives.
Hello,


Here an example of what is a problem to me:
.-------------------------------------------
|         Objective Caml version 3.08.3
|
| # let p = read_line()^".ml";;
| printer
| val p : string = "printer.ml"
| # #use p;;
| Wrong type of argument for directive `use'.
| #
`-------------------------------------------

Because 'p' has the type 'string', it seemed to me natural that '#use p' 
would be an equivalent to '#use "printer.ml"'. Naturally, in this cases, 
I do not want to use DynLink because all the definitions would be hidden.


regards.

	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com