anyone knows what is the state of core.match? I am checking the repo, the release is still tagged with “alpha” and there have been no commits in the last 9 months
Now that’s more like it! https://salt.bountysource.com/teams/clojars
@andrei I'm using it, but I had to bump tools.reader to the current version
Hey all, I'm coming from a Ruby background, trying to learn the clojure/clojurescript standard libs. Is there a built-in function similar it ruby's #each_slice
?
ruby
[1,2,3,4,5,6,7,8,9].each_slice(3).to_a == [[1,2,3],[4,5,6],[7,8,9]]
Or is it the Clojure way to just build it your self using primitives like map
/ reduce
?@arronmabrey: https://clojuredocs.org/clojure.core/partition
you can build it yourself of course, but that would require stateful reduction fn
@darwin: Thanks!
That's what I was looking for.
All, converting code from cljx -> reader conditionals. I'm getting the error:
Loading test/brute/entity_test.clj...
CompilerException java.lang.RuntimeException: Conditional read not allowed, compiling:(/home/markmandel/workspace/brute/test/brute/entity_test.clj:3:15)
From the code:
(ns brute.entity-test
"Tests for the entity management functions"
(:require #?(:clj [midje.sweet :refer :all])))
Any idea why this isn't working?omg, I'm an idiot
it's not cljc
Yep, that was it. Figures 😉
does anyone know of a good tutorial/examples of using transducers with the core.async chan function?
@pri: ^maybe?