Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.scheme > #6235

Re: Array constructor in Guile?

Path csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups comp.lang.scheme, comp.lang.lisp
Subject Re: Array constructor in Guile?
Date Fri, 19 Apr 2024 15:08:04 -0400
Organization A noiseless patient Spider
Lines 15
Message-ID <jwva5lpxjh8.fsf-monnier+comp.lang.lisp@gnu.org> (permalink)
References <87le5bp5sa.fsf@axel-reichert.de>
MIME-Version 1.0
Content-Type text/plain
Injection-Date Fri, 19 Apr 2024 21:10:58 +0200 (CEST)
Injection-Info dont-email.me; posting-host="d09361576182a34797557b6671965805"; logging-data="3324827"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Tzje/V7CPqVJSYDqPmXjhwaYa9Nez8+0="
User-Agent Gnus/5.13 (Gnus v5.13)
Cancel-Lock sha1:38unFM4REkQ0fBZIz/1NhciVDqQ= sha1:+2x1dAomGDNrm0dSLxMWuR6d4r4=
Xref csiph.com comp.lang.scheme:6235 comp.lang.lisp:59553

Cross-posted to 2 groups.

Show key headers only | View raw


>   #2((2 1) ((+ 2 3) 6))

Hmm... I see they implemented quasiquotation for vectors but not
for arrays:

    scheme@(guile-user)> `#(1 2 ,(+ 3 4))
    $1 = #(1 2 7)
    scheme@(guile-user)> `#2((1 2) (,(+ 3 4) 5))
    $2 = #2((1 2) ((unquote (+ 3 4)) 5))
    scheme@(guile-user)>

I suggest you file a feature request for that.


        Stefan

Back to comp.lang.scheme | Previous | NextPrevious in thread | Find similar


Thread

Array constructor in Guile? Axel Reichert <mail@axel-reichert.de> - 2024-04-18 08:02 +0200
  Re: Array constructor in Guile? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-04-18 07:33 +0000
    Re: Array constructor in Guile? Axel Reichert <mail@axel-reichert.de> - 2024-04-18 19:51 +0200
  Re: Array constructor in Guile? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-04-19 15:08 -0400

csiph-web