Yeah the issue can be quite confusing since the error produced may complain
about protocols you are not even calling anywhere. I've run into it several
times when the code ended up checking protocols on js/window. Since that
has all the munged global variables closure produces just about anythin
On Mon, Oct 17, 2016 at 9:46 PM, James Gatannah
wrote:
>
>
> On Saturday, October 15, 2016 at 10:17:15 PM UTC-5, Josh Tilles wrote:
>>
>> I’ve got a couple questions for Alex Miller and/or the other Cognitect
>> folks.
>>
>
> That isn't me. I'm just chiming in from the peanut gallery. Must of my
On Saturday, October 15, 2016 at 10:17:15 PM UTC-5, Josh Tilles wrote:
>
> I’ve got a couple questions for Alex Miller and/or the other Cognitect
> folks.
>
That isn't me. I'm just chiming in from the peanut gallery. Must of my
"experience" so far stems from converting
my toy projects from pri
On Monday, October 17, 2016 at 3:37:51 PM UTC-5, Jean Niklas L'orange wrote:
>
> Hi Marshall,
>
> On 17 October 2016 at 07:54, Mars0i >
> wrote:
>
>> Looks very nice! Thanks Jean Niklas. I've been using Incanter for
>> charts, which has been fine so far for my needs, but clj-xchart looks like
Sweet! And thanks!
I've been trying to find the time to learn enough boot to write this for
myself.
On Saturday, October 15, 2016 at 8:28:58 AM UTC-5, Borkdude wrote:
>
> Only a few lines of code, but it does the job:
>
> https://github.com/borkdude/boot-bundle
>
> This library lets you define a
I think one reason why these issues are reported infrequently is because it
is really hard to track them down. I can imagine people disable :advanced
optimizations or restructure their code instead of hunting down the real
cause. John went really far to isolate/demonstrate the issue.
Thanks for
My guess is that you're getting a message related to there being no
overload of the Producer.send method that accepts a String.
In your Java code, you're calling String.getBytes you need to do the same
in you Clojure code.
--Aaron
On Sun, Oct 16, 2016 at 2:42 AM, hiskennyness wrote:
> Not sure
As a running example related to the ideas in
http://clojure.org/guides/spec#_spec_ing_functions, please consider the
following function:
(defn mapper [x y]
{:tacos (vec (range x))
:burritos (vec (range y))})
Example input and output:
(mapper 2 4) ;=> {:tacos [0 1], :burritos [0 1 2 3]}
O
Hi Marshall,
On 17 October 2016 at 07:54, Mars0i wrote:
> Looks very nice! Thanks Jean Niklas. I've been using Incanter for charts,
> which has been fine so far for my needs, but clj-xchart looks like it will
> make it easier to make nicer charts, and it would avoid loading much of
> Incanter w
I would back way up to the beginning and reconsider your ::board spec.
Generally for any data where the structures are homogenous, you're probably
better off using one of the collection specs like coll-of (or map-of,
every, every-kv) rather than a regex, which should primarily be used when
you
Hi.
I've been experimenting with clojure spec and a game of life problem, and
have been trying to spec a rectangular board of unknown size made up of a
collection of rows, each of which contain an equal number of cells. My
initial attempt was:-
(def cell? #{0 1})
(s/def ::row (s/coll-of cell? :m
On Sun, Oct 16, 2016 at 11:40 PM, Ikuru Kanuma wrote:
> Mauricio, thanks for the response!
> I agree that that gets what I asked for done, but that solution is in
> essence writing the same
> qualified/unqualified version of the spec twice and sounded redundant,
> which lead to my question.
> I g
Thanks Sean.
On 17 October 2016 at 19:21, Sean Corfield wrote:
> We have 1.9 Alpha 13 in production.
>
> We’ve had nearly all the 1.9 Alpha builds in production. After all, right now
> 1.9 = 1.8 plus clojure.spec with some minor additions to clojure.core (new
> predicates).
>
> Sean Corfield --
We have 1.9 Alpha 13 in production.
We’ve had nearly all the 1.9 Alpha builds in production. After all, right now
1.9 = 1.8 plus clojure.spec with some minor additions to clojure.core (new
predicates).
Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
I have finally found time to watch Stu's video. It was very useful
introducing clojure.spec (even if I thought he over-egged the pudding
somewhat ;-)).
I know there is a back port, but are there any other strategies of
using this on 1.9 and building against 1.8? I was thinking of building
a tower
Hi there!
There is an 'optional type system' for Clojure in 'core.typed':
https://github.com/clojure/core.typed
But it also seems like others who were using such a type system have
stepped away from it:
https://circleci.com/blog/why-were-no-longer-using-core-typed/
On 10/15/2016 03:14 PM, Did
Clojure proposals are very welcome at BOB!
BOB Conference 2017
"What happens when we use what's best for a change?"
http://bobkonf.de/2017/en/cfp.html
Berlin, February 24
Call for Contributions
I highly recommend this talk on Spec by Stu Halloway. Spec is a new feature
coming in Clojure 1.9, and this talk goes into the pros/cons of static
typing and tests and shows how there can be a better way.
https://www.youtube.com/watch?v=VNTQ-M_uSo8
On Sun, Oct 16, 2016 at 5:58 PM, Alan Thompson
18 matches
Mail list logo