On Wednesday, March 13, 2013 9:11:44 AM UTC+1, Meikel Brandmeyer (kotarak) wrote:
> Am Dienstag, 12. März 2013 18:21:22 UTC+1 schrieb sw1nn: >> >> I find the need to switch between -> and ->> in a pipeline disturbs the >> clarity of my code. >> > > In my experience having problems with switching between -> and ->> is > closely related to unknowingly cross borders between collections land and > sequence land. If you run into this quite often you might want to review > your pipeline and check whether sequences are really what you want. > (Compare: pop vs. butlast on a vector) > One comon, and completely justified, case is starting with a seq, building a map from it, and then performing more operations on the map. A similar case is mixing seqy and stringy operations. On a related note, a matching doto-as would be just as beneficial. I often find myself aching for it. -Marko -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.