Deutsch   English   Français   Italiano  
<87h6fypnjf.fsf@axel-reichert.de>

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

Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Axel Reichert <mail@axel-reichert.de>
Newsgroups: comp.lang.scheme,comp.lang.lisp
Subject: Re: Array constructor in Guile?
Followup-To: comp.lang.scheme
Date: Thu, 18 Apr 2024 19:51:16 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <87h6fypnjf.fsf@axel-reichert.de>
References: <87le5bp5sa.fsf@axel-reichert.de> <uvqico$24ql9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 18 Apr 2024 19:51:23 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="652f99b4ec3bddeb3705b3b8ccbd6df6";
	logging-data="2512935"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1868ju+ps3ftoX5eCPbq2xUlE/XPyEsoq0="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:UBujyBt/CDokiN2TWmfaBrGYnl4=
	sha1:oIJ8tBYbsuq3Jhopr5mkG7QAQFI=
Bytes: 1446

Lawrence D'Oliveiro <ldo@nz.invalid> writes:

> On Thu, 18 Apr 2024 08:02:29 +0200, Axel Reichert wrote:
>
>> But I did not find an array "constructor" syntax that allows me to
>> create an array such as
>> 
>>   #2((2 1) ((+ 2 3) 6))
>> 
>> resulting in
>> 
>>   #2((2 1) (5 6))
>
>     (list->array 2 `((2 1) (,(+ 2 3) 6)))

Great, thanks, did not see this idea.

Best regards

Axel