guile-devel
[Top][All Lists]
Advanced

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

Re: guile-1.5.1 and deprecated ...


From: Rob Browning
Subject: Re: guile-1.5.1 and deprecated ...
Date: 22 Aug 2001 10:36:54 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

I think perhaps we should move this over to devel since it seems like
an issue we need to address before the stable release.  While the new
behavior makes sense for normal procedures, it may not for methods.

Thoughts?

David Pirotte <address@hidden> writes:

> 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

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD



reply via email to

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