[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 <ttn@gnu.org>
() 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
signature.asc
Description: PGP signature
- beginnerquestion (nconc), Stefan Huchler, 2017/03/17
- Re: beginnerquestion (nconc), Thien-Thi Nguyen, 2017/03/17
- Re: beginnerquestion (nconc), Yuri Khan, 2017/03/17
- Re: beginnerquestion (nconc), Stefan Huchler, 2017/03/17
- Re: beginnerquestion (nconc), Stefan Monnier, 2017/03/17
- Re: beginnerquestion (nconc), Stefan Huchler, 2017/03/21
- Re: beginnerquestion (nconc), Stefan Huchler, 2017/03/21
- Re: beginnerquestion (nconc), John Mastro, 2017/03/21