On Sat, Jan 4, 2014 at 12:07 AM, Mike Gran spk...@yahoo.com wrote:
Hi. I thought I'd take a stab at using your readable project
Result is attached. It is a process manager: a structure holds
a list of functions and data and call the functions as a unit.
Functions that return #f are removed from the manager, and
functions that return #t are kept.
My impressions are pretty favorable. I didn't love the
let block syntax, so I used defines instead.
Yes, let syntax is a big drawback with the indentation implies
parentheses strategy.
As a complete aside, in Haskell, there's a special fallback rule
where an error due to indentation matching will cause the parser to
attempt to close a group. This rule usually triggers in Haskell's
let...in syntax (basically, the in keyword is generally a syntax
error except after a let group, so the parser usually errors here when
indentation is used), which seems to imply to me that even Haskell has
some trouble with let syntax, which was simply fixed with this
hackish solution.
xref http://www.haskell.org/onlinereport/syntax-iso.html#sect9.3 ,
particularly Note 5.
Also, I used
'cond' in lieu of 'if' because I liked the look of having
an 'else'.
Yes, the old syntaxes like that tend to be very pretty in indentation syntax.
It works for me with Guile 2.0.9 and Readable 1.0.
Thanks,
Mike Gran
--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss