| I really like the syntax for anonymous single-arg functions. But it'd be nice if I could use it within def. When looking through the source, my eye looks for the "def"s, so it feels odd to me that I can write this: (= add-1 [+ 1 _]) ...but not this: (def add-1 [+ 1 _]) If you allowed this, and generalized, you could tighten up certain function defs that didn't require formal parameter lists. Something like: (def add (x y) (+ x y)) becomes: (def add [+ $0 $1]) (OK, dumb example, but you get the idea.) The only thing I don't like about this is that it starts to feel like we're walking down the Perl path: "Hey, we provide a dozen ways to do the same thing, and so you can't possibly hope to read anyone else's source!" Additionally, I very much like the "fill-in-the-blank underscore". |