Fork me on GitHub
#beginners
<
2015-07-09
>
rwtnorton05:07:41

@meow: There is also https://github.com/qerub/camel-snake-kebab , which has ->camelCase (but might require explicit use of str from a keyword).

slipset07:07:49

there's also http://github.com/expez/superstring which I can imagine has camel-Snake_kebab functions (and any other string function you'll ever need)

slipset07:07:12

@mikecarter: I think some part of cider/clj-refactor already has this functionality. Just cannot remember where

mikecarter08:07:08

i’ll probably continue working on helm-clojars - even if it’s just to further my emacs lisp experience 😃

meow16:07:12

@slipset: superstring looks very nice, thanks.

escherize17:07:13

I've got [ [[A B][D E]] [[X Y]] ] and I want: [[A B] [D E] [X Y]] what do?

escherize17:07:38

(->> x flatten (partition 2)) works

surreal.analysis19:07:16

@escherize: (apply concat vector) works as well

surreal.analysis19:07:02

And doesn’t depend on the partitioning scheme you have

surreal.analysis19:07:24

I’d also assume it’s faster than flatten, as my gut tells me tree-seq isn’t super fast, but I’m not positive on that one