re my last post/thread
I don't want to waste anyone's time so please hold fire...
I've split the filtering and chopping in two and even the filtered member
LIst is disappearing
(as a result of just filtering (when it shouldn't)
so the problem doesn't look like it's to do with chopping the values
Hi Dean,
> (de fltr (Buf Ln)
>(setq New_buf (mapcar '((Ele) (pack (tail (- (length Ln)) (chop Ele
> (filter '((Ele) (pre? Ln Ele)) Buf
> ...
> #: (fltr '(aa ab) 'ab)
> #-> (NIL)
You can use 'extract' to get exactly the results you need:
(de fltr (Buf Ln)
(let N (inc
I've got this filtering function
(de fltr (Buf Ln)
(setq New_buf (mapcar '((Ele) (pack (tail (- (length Ln)) (chop Ele
(filter '((Ele) (pre? Ln Ele)) Buf
If any element 'Ele' of Buf starts with Ln it get's put into New_buf
but not before the the Ln part is chopped off
Thanks again for your explanations Alex, still some comments...
On Fri, Jan 27, 2017 at 8:16 AM, Alexander Burger
wrote:
>
>
> BTW, I thought again about the terminology of "list" versus "cons pairs"
> and
> plain "cells". "list" is a rather unprecise term, I feel it is
On Sat, Jan 28, 2017 at 02:35:09AM +0100, pd wrote:
> sorry, I accidentally sent an incomplete message, here's the complete one
> ...
> >>
> >> BTW, I thought again about the terminology of "list" versus "cons pairs"
> >> and
> >> plain "cells". "list" is a rather unprecise term, I feel it is not
sorry, I accidentally sent an incomplete message, here's the complete one
On Sat, Jan 28, 2017 at 1:51 AM, pd wrote:
> Thanks again for your explanations Alex, still some comments...
>
> On Fri, Jan 27, 2017 at 8:16 AM, Alexander Burger
> wrote:
>
>>
Hi Alex
That's great...thank you very much.
Best Regards
Dean
On 27 January 2017 at 06:53, Alexander Burger wrote:
> Hi Dean,
>
> > i.e. I'm calling m1 from m2 using the same syntax as calling methods
> > externallybut just replacing *Obj with This.
>
> Yes, that's
Hello =?utf-8?B?0JLQuNC60YLQvtGA?= :-)
You are now subscribed
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe