Re: Scheme Review bootstrapped
Lassi Kortela 02 Dec 2022 15:10 UTC
> The name is then a bit misleading. The established symbol-xxx
> procedures work on symbols.
>
> Consider changing its name to something like append-to-symbol. Or
> generic-append/symbol. Analogous would be append-to-vector,
> append-to-string, ...
Common Lisp has:
> (concatenate 'string "fo" '(#\o #\b) #(#\a #\r))
"foobar"
> (concatenate 'vector "fo" '(#\o #\b) #(#\a #\r))
#(#\f #\o #\o #\b #\a #\r)
> (concatenate 'list "fo" '(#\o #\b) #(#\a #\r))
(#\f #\o #\o #\b #\a #\r)
We could imagine:
> (concatenate 'symbol "fo" '(#\o #\b) #(#\a #\r))
|foobar|
One of the main goals of Scheme Review is to stop repurposing the SRFI
list for non-SRFI stuff :)
I posted "Symbols as strings" as the initial proposal because it's a
good example of something that's neither substantial not mature enough
to be a SRFI.