David A. Wheeler scripsit: > * Scheme doesn't define what "-" and "+" followed by other stuff > mean if they aren't a number. The obvious extension is to consider > them symbols, and doing so is important for a Scheme shell (it makes > it easy). One gotcha: "-i" is negative sqrt(-1), but that's also a > valid flag (in particular, it's grep's case-insensitive flag).
More precisely, R5RS does not. In R6RS, -g is a lexical syntax error, and in R7RS it's a valid identifier. > * The latest Scheme now defines |...|. Which is nice, but that means > that scsh's mappings for | and || probably need tweaking. Yes, we recognized that | was going to be problematic: it has to be typed as |\|| now. || is fine, though; it's the result of `(string->symbol "")`. -- John Cowan co...@ccil.org "Mr. Lane, if you ever wish anything that I can do, all you will have to do will be to send me a telegram asking and it will be done." "Mr. Hearst, if you ever get a telegram from me asking you to do anything, you can put the telegram down as a forgery." ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss