Re: [racket] Style guide and inner definitions

2014-07-03 Thread Greg Hendershott
Good point. I've come to prefer explicit args, usually. On Jul 2, 2014 7:56 PM, "Ryan Davis" wrote: > > On Jun 26, 2014, at 20:43, Greg Hendershott > wrote: > > > With something that big, I will often: > > > > - Move that function to its own new .rkt file. > > - Move the inner functions out to t

Re: [racket] Style guide and inner definitions

2014-06-26 Thread Greg Hendershott
With something that big, I will often: - Move that function to its own new .rkt file. - Move the inner functions out to the module level, too (as "siblings" not "kids"). - Provide only the main one, e.g. `(provide process-elements)`. As a bonus, now it's easier to exercise the helper functions in