I have a (possibly controversial, possibly insanely stupid) feature
request:
So, curly infix is great because it's simple to understand, easy to
implement, and retains homoiconicity. However, it would be *really* nice to
be able to define infix operators that don't need to be surrounded by curly
braces, as in haskell:
infixl 6 +++
infixr 7 ***,///
where "infixl" denotes left associativity, and "infixr" denotes right
associativity. The numbers 6 and 7 are the precedence levels. The lisp
equivalent, I guess would be something like:
(infixl 6 +++)
> (infixr 7 *** ///)
And then all instances of +++, ***, and /// symbols would be treated as
infix operators, no curly braces required. Having this capability would
make lisp shells, e.g. scsh, extremely natual to use, and a real competitor
to existing shell scripting languages.
I am aware that what I am suggesting amounts to blasphemy in LISP circles.
You'd have to implement this functionality into the reader as it would need
to be applied globally to the entire AST. I know this is a crazy request
but it would be *so* nice. Anyway, feel free to ignore or criticize this
request. Thanks!
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss