R6RS does not allow that due to implementations required to implement the entire number stack.
I dont even think R5RS (or earlier) allows that. Some older (R5RS based and earlier) violates this. Some implementations allow special symbols eg |1+| . Cheers leppie On Tue, Dec 22, 2009 at 9:12 AM, ketmar <[email protected]> wrote: > On Tue, 22 Dec 2009 09:03:48 +0200 > leppie <[email protected]> wrote: > > > Symbols cant start with numbers. > but many Schemes can parse "1+" as a valid function name. not sure what > R6RS says about it, but i've seen many sources with things like "(1+ > n)". i'm not insisting, but i can't see why Ikarus should complain > about it. it's a trivial change in parser, after all. i'm using Ikarus > now for all my work, but inability to write such functions drives me > crazy (and breaks some of my software). > > sorry for noise, i'm not a "standard following" guy. i just think that > standard is good unless it claims "good things" as bad... > -- http://codeplex.com/IronScheme http://xacc.wordpress.com
