🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.clos
Article #458

Re: Beefs about lambda list congruency

#458
From: Andreas Girgensohn
Date: Sat, 16 Mar 1991 20:00
33 lines
2272 bytes
In article <9103151842.AA03261@clouseau.mitre.org> john@LINUS.MITRE.ORG writes:
>kramer@wotan.ai.toronto.edu ("Bryan M. Kramer") writes:
>
>  So in summary, my complaint is that the number of
>  number of required parameters has to be the same.
>
>The problem seems to be that you are thinking of methods as analogous
>to functions.  They are not.  A method is a PIECE of a function, a
>generic function.  In particular, it is NOT possible in CLOS to apply
>a method object in isolation, via FUNCALL or APPLY.
>
>So, you seem to want the generic function to take different numbers of
>required arguments at different times.  Huh?  If they're different at
>different times, then they're not always required.  So, you want some
>of the required arguments to be optional.  But only sometimes.
>
>Is this starting to sound somewhat problematic?
>
>John Burger

I would prefer that different methods of the same generic functions could have
different numbers of required parameters.  The selection of the applicable
method(s) would depend on the number of parameter in addition to the types of
the parameters.  I would also like to be able to specialize optional
parameters.  This might produce some problems for the ordering of methods but
only people who would have methods with different numbers of parameters would
encounter these problems.  I think that would have been a nice addition to
CLOS that wouldn't have disturbed people who insist on congruent lambda lists
at all (the CLOS implementors would have had more work).  But I guess it is
too late now, I can live with congruent lambda lists.

Andreas Girgensohn
andreasg@cs.colorado.edu
Technical Details
Message-ID: <1991Mar16.200016.24580@colorado.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!mips!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!sigi.Colorado.EDU!andreasg
References: <9103151842.AA03261@clouseau.mitre.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!mips!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!sigi.Colorado.EDU!andreasg
From: andreasg@sigi.Colorado.EDU (Andreas Girgensohn)
Newsgroups: comp.lang.clos
Subject: Re: Beefs about lambda list congruency
Message-ID: <1991Mar16.200016.24580@colorado.edu>
Date: 16 Mar 91 20:00:16 GMT
References: <9103151842.AA03261@clouseau.mitre.org>
Sender: news@colorado.edu (The Daily Planet)
Distribution: inet
Organization: University of Colorado, Boulder
Lines: 33
Nntp-Posting-Host: sigi.colorado.edu