• Re: Beginner question on destructuring bind

    From B. Pym@21:1/5 to His Kennyness on Wed Aug 7 08:01:39 2024
    His Kennyness wrote:

    you got the wrong language

    That ought to be: "you have got the wrong language".
    Worshippers of CL (COBOL-Like) and LOOP have very poor
    language skills.

    you should learn loop

    Worshippers of CL (COBOL-Like) have no affinity for Lispy
    programming, so they are irresistibly drawn to the feculence
    of LOOP as a fly is drawn to a turd.


    Here's an example:

    Kenny Tilton wrote:

    btw, I believe the thing that got me to look at loop was that it
    provides efficiency for free, which is rare in cheats:

    (loop for x in them
    when (yada x)
    collect x)

    vs:

    (let (out)
    (dolist (x them (nreverse out))
    (when (yada x) (push x out)

    If I had learned Lisp from PCL I would have grown up with loop as a
    native sub-language and not gone seven years without it.

    newLISP:

    (filter yada them)

    Example:

    (filter odd? (sequence 0 22))

    (1 3 5 7 9 11 13 15 17 19 21)

    (clean odd? (sequence 0 22))

    (0 2 4 6 8 10 12 14 16 18 20 22)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to B. Pym on Wed Aug 7 08:57:46 2024
    On Wed, 7 Aug 2024 08:01:39 -0000 (UTC), B. Pym wrote:

    His Kennyness wrote:

    you got the wrong language

    That ought to be: "you have got the wrong language".

    You got to be kucking fidding.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)