[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SRFI-10 syntax vs. #nA syntax



From: "Bradd W. Szonye" <bradd+srfi@xxxxxxxxxx>
Subject: Re: SRFI-10 syntax vs. #nA syntax
Date: Tue, 4 Jan 2005 17:59:27 -0800

> 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

This conflicts with srfi-38.

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.

--shiro