• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: wishlist: user-declared parameter labels without "given"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wishlist: user-declared parameter labels without "given"


  • Subject: Re: wishlist: user-declared parameter labels without "given"
  • From: Timothy Bates <email@hidden>
  • Date: Sun, 01 Apr 2001 17:37:37 +1000

On 4/1/01 10:08 AM, "Arthur J Knapp" <email@hidden> wrote:
> When I read scripts that make use of the labeled-parameter syntax,
> I get a headache. There is a part of my brain that just can't sort
> out which are the keywords, which are the variables, etc... :-0
50% agreed ;-)

> The compromise might be to write your handlers to take a single
> record as a parameter:
>
> getasample( { taking: 3, from_list: {1, 2, 3, 4}, replacing: false } )

What a brilliant idea! I will give it a try.

Dr Timothy Bates <mailto:email@hidden>
Macquarie Centre for Cognitive Science (MACCS)
Macquarie University
Ph 61 (2) 9850 8623
Fx 61 (2) 9850 6059


  • Follow-Ups:
    • Variable parameter lists and more! (was Re: wishlist: user-declared parameter labels without "given"
      • From: Timothy Bates <email@hidden>
  • Prev by Date: Re: Where am I?
  • Next by Date: Re: Where am I?
  • Previous by thread: wishlist: user-declared parameter labels without "given"
  • Next by thread: Variable parameter lists and more! (was Re: wishlist: user-declared parameter labels without "given"
  • Index(es):
    • Date
    • Thread