> > 2.  It can be used to highlight indentation for whatever purpose that may
> > serve.
> 
> To illustrate #2, consider the following contrivedly complicated code
> (but I think you'd end up with similarly complicated code after
> developing a project for a while).
> 
> define foo(x)
>   define bar(y z)
>   . let
>   .   \
>   .   . quux  frobnicate(y z)
>   .   . quuux frobnicate(z y)

To clarify, the rule you're thinking is:
"When processing indentation, beginning at the left-hand-side, a period is 
equivalent to a space character until the first character that is not a period, 
blank, or tab."

I think that's a good (experimental) rule.

>   define {a *<=>* b}

This one is cool.  I hadn't thought to *define* infix operators using infix 
notation.  Perhaps that's because I'm too used to traditional Lisp notation, or 
perhaps it's because few languages let you *define* infix operators using infix 
notation (even ones that do don't use infix in definitions).

I really like this ability to define infix operators in infix notation, it 
looks really clean.


--- David A. Wheeler

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to