On Monday 14 of March 2011 19:28:41 you wrote:
> I agree with all you wrote, except when you write about association
>=20
> lists:
> > Nb., this mechanism is used internally in picoLisp for symbol
> > properties=3D20 (aside of the general value of the symbol, each symbol =
can
> > have any number =3D of=3D20
> > (KEY . VALUE) properties associated with it). Access with (get) and
> > (set).
>=20
> There is a slight difference: The cells in a symbol's property list are
> not of the form (KEY . VALUE), but of (VALUE . KEY), so they are not
> really an association list.
>=20
> 'get' searches for KEY in a similar way, but the convenient feature is
> that 'prop' and '::' return a cell with VALUE in the CAR, so it can be
> used directly with functions that expect a 'var' argument (e.g. 'inc',
> 'dec', 'push', 'pop', 'queue' and so on).
>=20
> The statement Access with (get) and (set) is correct for 'get', but I
> assume you mean 'put' for the equivalet setter function.


Thanks a lot for the clarification; makes more sense to me now :D

=20
=2D-=20
dexen deVries

[[[=E2=86=93][=E2=86=92]]]

``In other news, STFU and hack.''
mahmud, in response to Erann Gat's ``How I lost my faith in Lisp''
http://news.ycombinator.com/item?id=3D2308816
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to