Re: Does function core.async/poll! work?

2015-03-23 Thread ru
[org.clojure/core.async 0.1.346.0-17112a-alpha] понедельник, 23 марта 2015 г., 17:41:32 UTC+3 пользователь ru написал: Hello all, I can not use the poll! function in core.async namespace! Getting an error message: (ns navobs.core (:require ... [clojure.core.async :as async

Re: Does function core.async/poll! work?

2015-03-23 Thread Timothy Baldridge
That version is from Sept 2014. Poll! was just added a month ago. Perhaps you can use a SNAPSHOT version? Timothy On Mon, Mar 23, 2015 at 8:58 AM, ru soro...@oogis.ru wrote: [org.clojure/core.async 0.1.346.0-17112a-alpha] понедельник, 23 марта 2015 г., 17:41:32 UTC+3 пользователь ru написал:

Re: Does function core.async/poll! work?

2015-03-23 Thread ru
Thank you, Timothy! Ok. Would you be so kind to point me what I must put in my project.clj file (:dependencies tag) to get SNAPSHOT version? понедельник, 23 марта 2015 г., 17:41:32 UTC+3 пользователь ru написал: Hello all, I can not use the poll! function in core.async namespace! Getting

Does function core.async/poll! work?

2015-03-23 Thread ru
Hello all, I can not use the poll! function in core.async namespace! Getting an error message: (ns navobs.core (:require ... [clojure.core.async :as async :refer [chan poll! put!]])) ... Compiling navobs.core java.lang.IllegalAccessError: poll! does not exist,

Re: Does function core.async/poll! work?

2015-03-23 Thread Timothy Baldridge
poll! is a pretty recent addition, what version of core.async are you using? Timothy On Mon, Mar 23, 2015 at 8:41 AM, ru soro...@oogis.ru wrote: Hello all, I can not use the poll! function in core.async namespace! Getting an error message: (ns navobs.core (:require ...

Re: Does function core.async/poll! work?

2015-03-23 Thread Chris Ford
If you look on the core.async Github page https://github.com/clojure/core.async, it describes this as what you need to pull the latest alpha into your project.clj: [org.clojure/clojure 1.6.0] [org.clojure/core.async 0.1.346.0-17112a-alpha] There's also a link to a list of other versions on

Re: Does function core.async/poll! work?

2015-03-23 Thread Timothy Baldridge
Unfortunately this isn't even in the latest alphas. Probably your best bet is to checkout a copy of core.async via git, then do `lein install` in the checkout directory. Lein should spit out enough install information to get you started, the format should be something like:

Re: Does function core.async/poll! work?

2015-03-23 Thread Max Penet
I think the problem is that it's listed on the autodoc page http://clojure.github.io/core.async/ , hence the confusion. On Monday, March 23, 2015 at 4:50:57 PM UTC+1, tbc++ wrote: Unfortunately this isn't even in the latest alphas. Probably your best bet is to checkout a copy of core.async

Re: Does function core.async/poll! work?

2015-03-23 Thread ru
But there is no stable core.async API Reference. I decided to include definition of pull! from github source code into my code for now, till this contradiction will be resolved. Is this OK? понедельник, 23 марта 2015 г., 17:41:32 UTC+3 пользователь ru написал: Hello all, I can not use the