guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile-1.5.1 and deprecated ...


From: David Pirotte
Subject: Re: guile-1.5.1 and deprecated ...
Date: Wed, 22 Aug 2001 17:34:03 +0200

Thomas Wawrzinek wrote:

> Well, you definitely have trouble with this:
> 
> ;; Example code.
> (define-module (a)
>   :use-module (oop goops))
> 
> (define-method (foo (o <vector>))
>   (display "VETCOR: ") (display o) (newline))
> 
> (export foo)
> 
> (define-module (b)
>   :use-module (oop goops))
> 
> (define-method (foo (o <list>))
>   (display "LIST: ") (display o) (newline))
> 
> (export foo)
> 
> (define-module (main)
>   :use-module (oop goops)
>   :use-module (a)
>   :use-module (b))
> 
> (foo #(1 2 3))
> (foo '(1 2 3))

really really weird!! exactly what i am doing. an quite frankly, it is what we
want to do in 'big' applications, don't you think? i don't understand the design
behind this, it sounds a big step backward



reply via email to

[Prev in Thread] Current Thread [Next in Thread]