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

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

Re: Passing two sequences to make a list of lists


From: Emanuel Berg
Subject: Re: Passing two sequences to make a list of lists
Date: Tue, 08 Nov 2022 07:40:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Heime wrote:

> This is the function I have been playing with
>
>   (seq-mapn
>      (lambda (x y)
>        (list x (mapconcat
>                 (lambda (s)
>                   (prog1
>                       (if (> y 0) (append (make-list s "xxxxx")) "")
>                       (setq y (1- y))))
>                   "")
>              " "))
>      descr
>      selectr)

Hm ... maybe you should add some set functions or
anonymous functions?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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