SRFI-10 syntax vs. #nA syntax Aubrey Jaffer (03 Jan 2005 05:23 UTC)
Re: SRFI-10 syntax vs. #nA syntax bear (03 Jan 2005 06:01 UTC)
Re: SRFI-10 syntax vs. #nA syntax Per Bothner (03 Jan 2005 06:37 UTC)
Re: SRFI-10 syntax vs. #nA syntax Aubrey Jaffer (03 Jan 2005 19:16 UTC)
Re: SRFI-10 syntax vs. #nA syntax Bradd W. Szonye (04 Jan 2005 22:28 UTC)
Re: SRFI-10 syntax vs. #nA syntax Per Bothner (04 Jan 2005 23:03 UTC)
Re: SRFI-10 syntax vs. #nA syntax Bradd W. Szonye (05 Jan 2005 01:59 UTC)
Re: SRFI-10 syntax vs. #nA syntax Per Bothner (05 Jan 2005 02:13 UTC)
Re: SRFI-10 syntax vs. #nA syntax Bradd W. Szonye (05 Jan 2005 03:08 UTC)
Re: SRFI-10 syntax vs. #nA syntax Per Bothner (05 Jan 2005 03:39 UTC)
Re: SRFI-10 syntax vs. #nA syntax Shiro Kawai (05 Jan 2005 02:39 UTC)
Re: SRFI-10 syntax vs. #nA syntax Bradd W. Szonye (05 Jan 2005 02:48 UTC)
Re: SRFI-10 syntax vs. #nA syntax Taylor Campbell (03 Jan 2005 22:40 UTC)
Re: SRFI-10 syntax vs. #nA syntax Bradd W. Szonye (05 Jan 2005 00:07 UTC)
Re: SRFI-10 syntax vs. #nA syntax Matthias Radestock (05 Jan 2005 01:25 UTC)
Re: SRFI-10 syntax vs. #nA syntax Bradd W. Szonye (05 Jan 2005 02:41 UTC)
Re: SRFI-10 syntax vs. #nA syntax Taylor Campbell (05 Jan 2005 02:52 UTC)
Re: SRFI-10 syntax vs. #nA syntax Aubrey Jaffer (05 Jan 2005 03:25 UTC)
Re: SRFI-10 syntax vs. #nA syntax Bradd W. Szonye (05 Jan 2005 03:54 UTC)

Re: SRFI-10 syntax vs. #nA syntax Bradd W. Szonye 05 Jan 2005 02:48 UTC

Bradd wrote:
>> I have a better solution: If the "array" has rank 0, also omit the "#"!
>> After all, that's what the Scheme writer will do when printing a scalar.
>>
>> This solution is more obvious if you use "#" instead of "x" for the
>> bound separators, e.g.:
>>
>>     Two dimensions  #2#3((11 12 13) (21 22 23))
>>     One dimension   #3(1 2 3)
>>     No dimensions   1

Shiro Kawai wrote:
> This conflicts with srfi-38.

Correct; that already uses #n#. I wasn't really proposing this syntax,
though, just using it for illustration. I prefer #2x3x4(....).

> Dropping 'A' might also cause some confusion with srfi-38, e.g. #3=(1
> 2 3) and #3(1 2 3), but it's a matter of degree, I guess.

I hadn't even noticed the similarity, even though my usual Scheme
supports both syntaxes. That's probably because they're used in entirely
different contexts (vectors and shared-structure lists).
--
Bradd W. Szonye
http://www.szonye.com/bradd