Hi
I would like to test a function which recursively traverses the nodes in a
graph and collects them. For example,
(def graph {1 [2 3 4]
2 [5 6 7]
6 [8 9]
10 [11 12 13]}
my function is given a starting point say, 1 and should then
with transducers, though. (Or without.)
On Wednesday, 3 September 2014, cig clifford...@gmail.com wrote:
Thanks Timothy, that makes sense.
A follow on question if you don't mind.
I would like to 'take' n items off of a channel, but wait until n items
are available rather than eagerly returning the way
:23:10 UTC+2, tbc++ wrote:
It's because into is pulling items as fast as it can from take. Sure the
buffer might get full but then into takes another value allowing take to
continue.
Timothy
On Tue, Sep 2, 2014 at 1:48 PM, cig clifford...@gmail.com javascript:
wrote:
Hi
I
Hi
I was expecting the following example to park, waiting for the 'out'
channel to be cleared. Could anybody explain why 'take' does not
park when the output buffer size is smaller than the number of entries
being taken from the input channel?
(def from (to-chan [1 2 3 4 5 6 7]))
(!! (into []
Hi
I have been trying to build a test.check generator for a multi map, without
much success.
I have a generator which generates ordinary maps:
(def ord-gen
(gen/fmap (partial zipmap [:port :instr :qty])
(gen/tuple (gen/not-empty gen/string-alpha-numeric)
On Thursday, July 3, 2014 6:06:29 AM UTC-5, cig wrote:
Hi
I have been trying to build a test.check generator for a multi map,
without much success.
I have a generator which generates ordinary maps:
(def ord-gen
(gen/fmap (partial zipmap [:port :instr :qty])
(gen/tuple (gen
Hi David
I tried changing :advanced mode to :whitespace mode. My index.html file
looks as follows:
html
body
div id=registry/div
script src=http://fb.me/react-0.9.0.js;/script
script src=js/om_ho.js/script
/body
/html
my project.clj file looks as follows:
(defproject om-ho
Where should I place the setting to turn on smartparens-strict-mode in
emacs-live?
Following this thread,
https://github.com/Fuco1/smartparens/issues/158
I tried adding this to my own pack but that did not work, subsequently
added it to the clojure-pack under the smartparents-conf.el
but that
Is CLP(Set) for core.logic available for use?
It does not seem like core.logic 0.8.3 contains this feature.
How should I access it if it is available?
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Hi David
Did you not make use of it for solving this puzzle?
https://gist.github.com/swannodette/5127150
On Tuesday, 18 June 2013 13:38:48 UTC+2, David Nolen wrote:
CLP(Set) has not been implemented yet.
On Tue, Jun 18, 2013 at 2:36 AM, cig clifford...@gmail.com
javascript:wrote
Impressive, wonder if they were running this on a single node or more
widespread?
In a wide spread environment I think Erlang would be the true winner,
though it does not natively have macros :-(
There is an implementation of Lisp for Erlang called LFE (lisp
flavored Erlang) which I looked at,
11 matches
Mail list logo