Re: Error using core.async version of into

2014-05-20 Thread Juan Manuel Gimeno Illa
The repl indicates that current namespace is p1.core p1.core=> (into [:a] (list :b :c)) and I imagine in p1.core is where core.async is used or required + referred :all. Juan Manuel El martes, 20 de mayo de 2014 12:48:47 UTC+2, David Della Costa escribió: > > The question is why that is happe

Re: Error using core.async version of into

2014-05-20 Thread Dave Della Costa
The question is why that is happening when you load up the repl--are you using 'use' or 'require' with :refer all on core.async in your p1.core namespace? If so you should probably switch that reference to something like (:require [cljs.core.async :as async]) If this is not what's going on I'm c

Re: Error using core.async version of into

2014-05-20 Thread Craig
Juan, I saw your reply and then noticed the clear warning ("...being replaced by: #'clojure.core.async/into") as well. Many thanks for the quick response. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@

Re: Error using core.async version of into

2014-05-19 Thread Juan Manuel Gimeno Illa
The problem is that core.async defines some functions which are also defined in clojure.core. When now you invoke into, you are not referring to the clojure.core/into but to cosee.async/into which, if I remember right, takes a channel as first argument. If you want to use the clojure.core into,

Error using core.async version of into

2014-05-19 Thread Craig
Hi, With the following project file: (defproject p1 "0.1.0-SNAPSHOT" :description "Project One" :url "http://acme.com"; :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/c