> It looks at the port... and sees a space!! Oh noes!! Someone has > just indented the first line! Okay, let's count the first line's > indent... two spaces. Let's pretend that this is the 'left edge'.. > let's go to the next line... oh noes! It's got one space for indent - > it's managed to go beyond the left edge, it's even lefter than left!
Why do we care where the 'left edge' is? In wart I would just combine the first line with any further-indented siblings, and then start a new top-level expression when it sees an unindent. Another way to say it: each top-level form maintains an independent left edge. I actually use this behavior to denote implementation details that can be ignored on a first reading: http://github.com/akkartik/wart/blob/3320d257ac/035generic.wart. ------------------------------------------------------------------------------ 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