[racket] A question about code-style (and memory usage)

From: Stephan Houben (stephanh at planet.nl)
Date: Tue Jul 26 14:16:41 EDT 2011

On 07/26/2011 07:18 PM, Eli Barzilay wrote:
> On one hand I like such identifiers, but on the other there could be a
> lot more.  Just looking at random things, I can see `π', `→' or `⇒'
> (for `=>'), `≤', `≥', `…', `∞' and `-∞', `∊' (for `member'), `√', and
> many more.

I believe I have most of the obvious ones covered in mathsymbols.rkt

See http://planet.plt-scheme.org/package-source/stephanh/mathsymbols.plt/1/0/planet-docs/manual/index.html
for an overview.

> Maybe even `½', `¼', `¾', `-½' etc...

I considered adding those but in my opinion they would work better
as a proper extension of the reader, i.e. 2½ as an alternative notation for 5/2 .

Stephan


Posted on the users mailing list.