Re: as- macro enhancement request?

2013-08-21 Thread Greg
Your example could be written: (- foo bar (baz quuz) blah) That misses the point of having a generic threading macro. But I suspect you meant something like this: (- foo bar (as- (baz whiz quuz)) blah) That's ugly. Would love it if as- allowed removing

as- macro enhancement request?

2013-08-20 Thread Ken Restivo
I like the as- macro, mostly because it'd theoretically obviate the need to include the Swiss Arrows library anymore. There's one reason why I keep going back to Swiss Arrows though: the ability to include single-arg functions in the chain that do not have the explicit token. i.e. in Swiss

Re: as- macro enhancement request?

2013-08-20 Thread Joseph Smith
Second- that would be a nice, and intuitive, enhancement. --- Joseph Smith j...@uwcreations.com @solussd On Aug 20, 2013, at 8:52 PM, Ken Restivo k...@restivo.org wrote: I like the as- macro, mostly because it'd theoretically obviate the need to include the Swiss Arrows library anymore.

Re: as- macro enhancement request?

2013-08-20 Thread Sean Corfield
Your example could be written: (- foo bar (baz quuz) blah) But I suspect you meant something like this: (- foo bar (as- (baz whiz quuz)) blah) In other words, you use as- with - for just those cases where you need something that isn't in the first or last argument