help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: beginnerquestion (nconc)


From: Thien-Thi Nguyen
Subject: Re: beginnerquestion (nconc)
Date: Fri, 17 Mar 2017 09:52:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

() Thien-Thi Nguyen <address@hidden>
() Fri, 17 Mar 2017 08:33:13 +0100

   [...] non-trivial stuff:

    (cl-loop
     for n below 5
     collect (intern (string (+ ?a n))))

    => (a b c d e)

Ugh, how lame.  In the spirit of ‘nconc’... append another!

(cl-loop
 for gnu below (/ (+ 4 2)
                  (/ 4 2))
 collect (intern
          (string
           (+ 42 (* gnu (+ 4 2))
              42 (+ gnu (+ 4 2))
              42 (- (+ 4 2 (/ (* 4 2)
                              (* 4 2)))
                    (* (+ 4 2)
                       (+ 4 2)))))))

I'm not against lameness, but it seems to be "again"st me.  :-D

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)
   (pcase (context query)
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]