[PD] a story for Lists
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Apr 8 12:51:55 CEST 2009
Frank Barknecht wrote:
> Hallo,
> IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:
>> basically because it is like it is.
>> i guess that if someone (not completely naive; and with an eye on
>> language-design and not just tool-design) would go and re-invent the
>> wheel, they would make lists just lists. without any special "selector"
>> (just the first element of the list).
>
> But if you drop the current selectors and use the first element of any
> list as selector, you just have reinvented selectors, haven't you? ;)
no.
or yes, but selectors need not be symbols, and there would be no special
selectors, that implictely define the tail of the list.
somehow functional languages like lisp manage to do well with lists and
dealing the head of a list (selector) in various special ways without
making the head be different from the elements of the tail.
fgmadsr
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090408/d088f479/attachment.bin>
More information about the Pd-list
mailing list