admin-announcements

Announcements from the Clojurians Admin Team (@U11BV7MTK @U077BEWNQ @U050TNB9F @U0ETXRFEW @U04V70XH6 @U8MJBRSR5 and others)
andrei 2015-11-21T10:30:02.000305Z

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

2015-11-21T11:16:05.000306Z

Now that’s more like it! https://salt.bountysource.com/teams/clojars

gtrak 2015-11-21T16:03:42.000310Z

@andrei I'm using it, but I had to bump tools.reader to the current version

2015-11-21T19:31:39.000314Z

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?

2015-11-21T19:36:00.000316Z

you can build it yourself of course, but that would require stateful reduction fn

2015-11-21T19:36:06.000317Z

@darwin: Thanks!

2015-11-21T19:37:00.000318Z

That's what I was looking for.

markmandel 2015-11-21T21:59:17.000319Z

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?

markmandel 2015-11-21T22:00:59.000320Z

omg, I'm an idiot

markmandel 2015-11-21T22:01:01.000321Z

it's not cljc

markmandel 2015-11-21T22:01:37.000322Z

Yep, that was it. Figures 😉

2015-11-21T23:22:07.000323Z

does anyone know of a good tutorial/examples of using transducers with the core.async chan function?

2015-11-21T23:43:24.000324Z

@pri: ^maybe?