very` and `not-every`.
On Sunday, April 26, 2015 at 2:21:26 PM UTC+12, Alex Miller wrote:
>
> I think 'some' fills this role. Given truthy values, why do you need to
> use boolean with it?
>
> On Saturday, April 25, 2015 at 8:32:09 PM UTC-5, Colin Taylor wrote:
>>
Oh uggh wheres the delete post button. I'll blame the 3 mth old with
reflux for that.
On Monday, April 27, 2015 at 12:56:04 AM UTC+12, James Reeves wrote:
>
> Those examples all work with `some` as well:
>
> user=> (some true? [false true false])
> true
> user=> (some even? [1 2 3])
> true
> use
Yep you're in a cast of confused hundreds? thousands? here. It's quickly
googlable but I'd still prefer to see my (rejected) humane suggestion in the
error.
While I don't advocate coding lessons in error messages, this really is an
anomalous Java detail leaking through.
user=> (.length (int-arr
Even easier, just copy and paste from Cursive :)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To
e/IDEA open.
> Alan
>
>
> On Tue, Jun 14, 2016 at 9:38 PM, Colin Taylor
> wrote:
>
>> Even easier, just copy and paste from Cursive :)
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
I didn't strip it down for a true benchmarking test and my use case is large
but fairly sparsely connected graphs, but I get about 10% improvement.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegro
Defm does this too though I've never got round to fully finishing it.
(defm file-or-string-fn []
([File] (println "It's a file"))
([s :- String] (println "It's a string " s))
(["magic"] (println "It's magic"))
([_] (println "It's a " (type _1
--
You received this message because you
Would there be interest in a ticket in this? Seems simple enough if (as
above) putting the message under the :pre key is acceptable?
On Thursday, July 14, 2011 at 3:25:16 AM UTC+12, frye wrote:
>
> I do think a simple String error message is all that the user of the
> function should provide. F
Hi,
given a namespace sources
with [simplified definitions]
(defrecord Source [name url])
(def google (source "Google" "google.com"))
(def bbc (source "BBC" "bbc.co.uk"))
(def nbc ...
etc.
what would be the idiomatic way to implement
(defn get-all-sources)
cheers
Colin
--
You received this
Actually that does seem the most idiomatic approach
(def sources
{:bcc source("bbc.. ),
:google source("),
}
(defn all-sources []
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegr
Actually that does seem the most idiomatic approach
(def sources
{:bcc source("bbc.. ),
:google source("),
}
(defn all-sources []
(vals sources))
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to c
11 matches
Mail list logo