News for hackers. Stuff that matters.
Re:Shake: Every Program Can Be a Clojure Function by sunng on Friday September 21, 2012 @08:47AM (#4553499)
I'm also looking for better ways to index path. If I can pass some options in (use) and initialize with options, it will be better.
Re:Shake: Every Program Can Be a Clojure Function by Tuna-Fish on Friday September 21, 2012 @02:13PM (#4554937)
I really think "not indexing path" is the better choice. Instead of (uname -a), why not just export a single symbol and do (shake uname -a)? (or even just (sh uname -a)?) Then find the correct program to run at invocation time. It's more clear about what happens, and allows much simpler implementations with much less weird failure modes.