I never saw the ; shortcut being mentioned, in most cases (for me
anyway) it will suffice instead of get.
By the way, is the ';' functionally identical to the 'get'? If so, I think
the docs should say so clearly. If not so, what's the difference?
/Jon
--
UNSUBSCRIBE:
Hi Jon,
I never saw the ; shortcut being mentioned, in most cases (for me
anyway) it will suffice instead of get.
By the way, is the ';' functionally identical to the 'get'?
Yes, except for whether (or which) arguments are evaluated. This is
along the same line as 'get' - ':', 'prop' -
On 8/26/10 1:20 PM, Alexander Burger wrote:
..
I'm not sure about the docs, as such examples - as you can see above -
quickly get rather complicated.
Cheers,
- Alex
I think this could be a nice little example:
: (setq L '(A B C))
- (A B C)
: (setq B 'D)
- D
: (put L 2 0 'p 5)
- 5
: (getl 'D)
Hi Jon,
I think this could be a nice little example:
: (setq L '(A B C))
- (A B C)
: (setq B 'D)
- D
: (put L 2 0 'p 5)
- 5
: (getl 'D)
- ((5 . p))
Indeed! I included it. Many thanks!
Cheers,
- Alex
--
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
I never saw the ; shortcut being mentioned, in most cases (for me
anyway) it will suffice instead of get.
On Fri, Aug 27, 2010 at 6:00 PM, Alexander Burger a...@software-lab.de wrote:
Hi Jon,
I think this could be a nice little example:
: (setq L '(A B C))
- (A B C)
: (setq B 'D)
- D
:
Hi,
In the docs on the 'put' function I read this:
That symbol is sym1 (if no other arguments are given), or a symbol found
by applying the get algorithm to sym1|lst and the following arguments.
Could somebody give me an example or two where this get algorithm is
being applied? Maybe Alex
Hi Jon,
That symbol is sym1 (if no other arguments are given), or a symbol
found by applying the get algorithm to sym1|lst and the following
arguments.
Could somebody give me an example or two where this get algorithm is
being applied? Maybe Alex could put it into the docs ...?
This is
On 8/26/10 1:20 PM, Alexander Burger wrote:
As a conceived example, let's create in-memory objects instead:
For the sake of completeness: The 'put' statement in the example
(put 'Customer 'orders 1 'articles 2 'supplier 'street New Street)
becomes
(with 'Customer
(=: orders 1