This is the mail archive of the guile@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]

Re: Polymorphism, genericity, etc.


Jost Boekemeier wrote:

> Guile also uses generic functions and thus has the same 
> problem.  For example when I pass an integer to 
> environment-unobserve it will simply
> crash (at the moment :>).  That's why you must aggressive 
> check the types of all the parameters. Implicit typing 
> (genericity) is convenient to the user because he can pass 
> anything he wants.  But I agree that an explicit type system 
> with polymorphism is better.  (This is where scheme fails 
> dramatically!)

does 
(load "tclos.scm")
solve all your complaints?

-- 
Chris Bitmead
mailto:chris@tech.com.au

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