This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Auto type conversion in target languages


(hi)
One of the bigger problems in supporting different languages for
now seems to be that some are auto-type-converted (e.g. they
change the type of a variable according to what is needed right
now, i.e. Perl, Tcl, PHP, etc.)

This raises the need to introduce "import" functions to import
Scheme functions into the language name space. That's a Bad Thing
imho, because that makes their use quite difficult.

If in the tcl world someone says
   double "100"
then foo can quite plausibly return 200, but the tcl reader for
Guile has no idea that double wants a number not a string.

Has anyone any thoughts about this?
    -- forcer

-- 
((email . "forcer@mindless.com")       (www . "http://forcix.cx/")
 (irc   . "forcer@#StarWars (IRCnet)") (gpg . "/other/forcer.gpg"))

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]