Misleading doc string

Brian Rice water at tunes.org
Fri Nov 25 18:15:03 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Done. I'll push up the patch now. Thanks.

On Nov 25, 2005, at 6:12 PM, Todd Fleming wrote:

> I'd avoid having the word "key" in the description if possible.
>
> How about:
> "This returns true if the Mapping includes the argument as a value."
>
> This is similar to the doc string for "m@(Mapping traits)  
> includesKey: key" in mapping.slate.
> Todd
>
> Brian Rice wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> That's an interesting point. I wrote it thinking "keyed" meant   
>> "stored", but I see what you mean.
>>
>> How about:
>> "Answers whether the Dictionary refers to this object (or an   
>> equivalent one) with one of its keys."?
>

- --
- -Brian
http://tunes.org/~water/brice.vcf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDh8UnPVkAvLW1zf4RAohZAJ0aEuESvoS+HrtvkCxqd6HyNrBQuQCgoXWJ
MGdngllTbSCN5xRH7btmZHU=
=2Fq6
-----END PGP SIGNATURE-----




More information about the Slate mailing list