Hi all,

On Fri, Jan 27, 2017 at 7:01 PM, dean <deangwillia...@gmail.com> wrote:
> 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))))

I'm not an expert, I just want to warn and maybe be confirmed.
As Alex said recently, PicoLisp programs should rarely use setq.
I'd add (please confirm):
1) especially in function definitions, as
2) it creates/modifies like «global variables», which many consider
bad practice.


chri
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to