Hello Mike,
Take a look at hickory, it's more straightforward than enlive if you want
to find something in html: https://github.com/davidsantiago/hickory
(ns ..
(:require [hickory.core :as h]
[hickory.select :as hs]
[cljs.core.async :as a]))
let [html (:
Hello Stephen,
Couple of comments about code:
Instead of not nil? you can use some? since clojure 1.6:
user=> (doc some?)
-
clojure.core/some?
([x])
Returns true if x is not nil, false otherwise.
str/split and get by 0 may result in error:
user=> (str/split ":" #":")
[]
Add one more chan, "external ready".
Put :ok there to let producer generate new value.
producer:
- read from "external ready"
- generate value
- put into "outgoing" chan
client:
- contact external server, put in "external ready" if ok
- read from "outgoing" chan
- send to external
Handle excepti
Nice video, very cool.
Some notes:
- you can omit comma ',' in maps {:key value :another value}
- can omit contains? in filter:
user=> (filter :apple? [{:apple? true :x 6} {:apple? true :x 4} {:player?
true :x 550}])
({:apple? true, :x 6} {:apple? true, :x 4})
Thanks again,
Eduard
On Thursday
Thanks. Can you compare sente with chord?
On Wednesday, February 26, 2014 3:57:24 PM UTC+2, Peter Taoussanis wrote:
>
> Hi folks,
>
> Quick post to announce a new lib release:
> https://github.com/ptaoussanis/sente
>
> From the README:
> *Sente* is small client+server library that makes it easy t
I spot invalid let here:
(defn get-a-member [id]
(let [id (parse-int id) member]
[member (memberdb/get-member id)]
should be
(defn get-a-member [id]
(let [id (parse-int id)
member (memberdb/get-member id)]
On Sunday, February 16, 2014 4:01:03 AM UTC+2, The Dude (Abides)
Make sure your db is correct,
see
http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html#setting-up-a-data-source
Show your db and id values.
Best,
Eduard
On Saturday, February 15, 2014 5:55:35 AM UTC+2, The Dude (Abides) wrote:
>
> Hi, I'm writing some queries using java.jdbc 0.3.3 as
Hello Alex,
I can review article. My email is edb...@gmail.com
Best regards,
Eduard
On Jan 3, 5:33 pm, Alex Ott wrote:
> Hello all
>
> I want to ask Russian speaking of Clojure community to contact with me -
> I'm currently writing article about Clojure for Russian journal of
> functional progr