Deutsch   English   Français   Italiano  
<1045rsn$5gdl$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: "B. Pym" <Nobody447095@here-nor-there.org>
Newsgroups: comp.lang.lisp,comp.lang.scheme
Subject: Re: relativity of programming languages
Date: Thu, 3 Jul 2025 12:08:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <1045rsn$5gdl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Injection-Date: Thu, 03 Jul 2025 14:08:58 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a0c2719955ccf1dd56f2a518235806d6";
	logging-data="180661"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18qasd3hEFX7x5ldOyKEUVm"
User-Agent: XanaNews/1.18.1.6
Cancel-Lock: sha1:VWUu5HMM9fWNw2Z3RsdK+AveNJo=

Ken Tilton wrote:

> How about?:
> 
>   (loop for drink in list-of-drinks
>         collecting (list drink (random 100)))

Gauche Scheme

(use srfi-27) ;; random-integer

(map (cut   list <> (random-integer 100)) '(g h i j))
  ===>
((g 79) (h 3) (i 36) (j 84))