I've been working on a library for a little bit which I'm calling
stateful-check (at least for now). It's mainly my attempt to work
towards the sort of stateful testing that I first saw in John Hughes'
talk "Testing the Hard Stuff and Staying Sane"[1].
https://github.com/czan/stateful-check
ht
eh, that one line should be:
(let [rf (fn [_ x] (>!! to-chan x)) ...)
On Thu, Nov 27, 2014 at 3:15 PM, Timothy Baldridge
wrote:
> This wasn't included in core.async mostly because it's fairly easy to
> write. The code looks something like this (untested):
>
> (def from-chan)
> (def to-chan)
>
>
This wasn't included in core.async mostly because it's fairly easy to
write. The code looks something like this (untested):
(def from-chan)
(def to-chan)
(dotimes [_ num-threads]
(let [rf (fn [_ x] (>!! to-chan))
f (xform rf)]
(thread
(loop []
(when-some [x ( wrote:
Recently in creating load testing I've been in need of throttling certain
mixed IO/CPU bound processes and have been using claypoole.core/upmap for
those situations
(require '[com.climate.claypoole :as cp])
(defn wait-and-return
[w]
(Thread/sleep (* 1000 w))
w)
(def to-sort
[38 20 22 2
What?
A basic SQL DSL (that was briefly part of org.clojure/java.jdbc).
Version 0.1.1
Where?
https://github.com/seancorfield/jsql
https://clojars.org/java-jdbc/dsl
Changes?
Add support for WHERE .. IN ( .. ) as (where :col [val1, val2, val3])
Courte
So, you've made a good observation about the spec - it doesn't proscribe
any convention for dealing with sequences of items. The reason for this is
pretty much that the DOM is the only modern UI framework that I've worked
with that doesn't include something like an "items view". So, I understand
th
Hi:
This is the github repo: https://github.com/sveri/ffdc
>From the Readme:
This is a template (not a leiningen) combining several projects to get
started with. Included are:
- friend with friendui
- datomic pro (should be easily replacable by datomic free edition)
- chestnut templa
https://github.com/tangrammer/defrecord-wrapper
This library lets you apply middleware to protocol implementations of
clojure.core/defrecord in the same way as AOP does.
The idea behind defrecord-wrapper is pretty simple. It creates another
defrecord instance (wrapper) that will contain the ori
+1 for zombileclj.no
I don't speak a word in Norwegian, but I can follow along since the
function names are in English. I found those screencasts very useful to
learn a possible workflow for TDD in clojure.
Fernando.
On Wednesday, November 26, 2014 7:54:41 PM UTC-2, Stig Brautaset wrote:
>
> I
Hi all,
I just discovered this list of Clojure job postings thanks to a co-worker
and just wanted to share with those who might have not heard about it, like
me until today :P.
http://lispjobs.wordpress.com/
Cheers,
Juan
On Tuesday, March 9, 2010 1:00:15 PM UTC-3, Will Fitzgerald wrote:
>
On Wednesday, November 26, 2014 10:06:41 PM UTC-5, Michael Blume wrote:
>
> Instead of the deshadowing logic, why not
>
> (defn if-and-let*
> [bindings then-clause else-fn-name]
> (if (empty? bindings)
> then-clause
> `(if-let ~(vec (take 2 bindings))
>~(if-and-let* (drop 2 bin
Would this maybe help?
(try
(run-jetty handler {:port 8080})
(catch java.net.BindException e
(println "Can't launch jetty:" (.getMessage e))
(System/exit 1)))
On 27 November 2014 at 03:51, Brian Craft wrote:
> If jetty fails to bind a port because it's in use an exception is thrown,
It's a bug in cljx related to the middleware I think. Try this one:
[org.clojars.cemerick/cljx "0.5.0-SNAPSHOT"]
On Thursday, November 27, 2014 12:22:54 PM UTC+1, Colin Yates wrote:
>
> I have included cljx and everytime lein starts it gives the following:
>
> [code]
> WARNING!!! version ranges fo
I have included cljx and everytime lein starts it gives the following:
[code]
WARNING!!! version ranges found for:
[com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket "0.1.0.6"]
-> [org.clojure/clojure "[1.3.0,)"]
Consider using [com.keminglabs/cljx "0.4.0" :exclusions
[org.clojure/c
14 matches
Mail list logo