first of all a big thanks for the detailed explanation.
I scoured the manual and book for all occurrences of destructive, every
so often a difference kind of use pops up, like when a counter in
incremented destructively, things like that, but wanted to see what
commands are clearly modifying the g
On Sun, Jan 18, 2015 at 11:36:25PM +0100, steven wrote:
> That rot or xchg are destructive is fine, also the difference between
> that and non-destructive. But I am wondering about how the set and nth
> work together to force an operation to be destructive, like here:
No. 'set' is always destructi
probably what makes is good learning material is that I am learning
myself, so it demonstrates some basic functions well I think, but is
still just scratching the surface of picolisp.
I wrote it for a console-only handheld with a very small screen, so
wanted it keystroke driven (raw mode) as well
this does get tricky. then there is quoting and not quoting, symbols or
lists, and even another angle I saw just now in the up command where
it talks of "previously saved values" for a sym.
I think it gets worse before it gets better, but I'm making progress. ;)
That rot or xchg are destructive i
Hi Mart,
> hello list, this is my first post here.
Welcome :)
> i'm not a coder but i have a "philosophical interest" in lisp,
That's interesting! Which philosophical aspects do you have in mind?
♪♫ Alex
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hi marmorine,
> and there I was stumped at first, wondering what is
> destructive, what is not and so forth (or what that even IS)
You are right. It is a confusing issue. Let me try to explain it a
little.
An operation is destructive when it modifies a data structure in such a
way that other pla
hello list, this is my first post here.
thank you very much for posting this marmorine!
i'm not a coder but i have a "philosophical interest" in lisp,
and i've also been planning a note-taking/organizing program
that would use similar navigation to what you have there.
so this code is very good le
I had been meaning to ask this same question myself (and thanks to dave
for bringing it up). I wrote a quick launcher namely for the console,
it uses rotate to select options and settings, that changes the options
list "in place" and worked really well actually, I like the effect.
Then I wanted to
Hi Dave,
On Fri, Jan 16, 2015 at 01:18:19AM +, Loyall, David wrote:
> Should either (insert ...) or (place ...) be destructive?
No, but destructive operators could be made in a similar way.
A destructive 'place' is basically 'set', BTW, if you combine it with
'nth' or 'seek' etc..
> Are th
Should either (insert ...) or (place ...) be destructive?
Are they meant to be synonyms?
Cheers,
--Dave
: (setq truck '(frame))
-> (frame)
: (show truck)
-> (frame)
: (insert '2 truck 'cab)
-> (frame cab)
: (show truck)
-> (frame)
: (place '2 truck 'cab)
-> (frame cab)
: (s
10 matches
Mail list logo