Would it negatively impact performance to do a type check? If the input is
a MapEntry, use the current key/val, and then use nth for other cases.
On Wednesday, 4 May 2016 10:52:35 UTC-7, Alex Miller wrote:
>
> Yes, there were some changes relating to tuples in the 1.8 alphas that
> made 2-eleme
On 4 May 2016 at 05:46, Fluid Dynamics wrote:
> On Wednesday, May 4, 2016 at 7:12:35 AM UTC-4, Miguel Ping wrote:
>>
>> Seems like you need to update eclipse? I'm guessing Marketplace Client is
>> from eclipse.
>>
>
> It's the standalone CCW. But I tried to update all of the components
> listed a
On Wednesday, May 4, 2016 at 8:43:00 PM UTC-4, Andy Fingerhut wrote:
>
>
>
> On Wed, May 4, 2016 at 5:46 AM, Fluid Dynamics > wrote:
>
>>
>> Also, nothing you wrote addresses the other complaint I have, which is
>> that stuff shouldn't just magically stop working one day while it's sitting
>> in
On Wed, May 4, 2016 at 5:46 AM, Fluid Dynamics wrote:
>
> Also, nothing you wrote addresses the other complaint I have, which is
> that stuff shouldn't just magically stop working one day while it's sitting
> in a drawer unused, and that there's not even an *excuse* for it to do so
> if it's *sof
I like the first option:
[:foo {:bar :desc} {:quux :asc}]
Simple, succinct, & flexible.
Alan
On Wed, May 4, 2016 at 3:36 PM, Sean Corfield wrote:
> What?
> Clojure contrib wrapper for JDBC
> https://github.com/clojure/java.jdbc#change-log
>
> The 0.6.0 Alpha builds have been
On 5 May 2016 at 00:46, Fluid Dynamics wrote:
> Doesn't cursive (or its host) cost money and emacs cost gray hairs?
>
Cursive is free but not OSS for non-commercial use, and it works fine with
the IntelliJ community edition, which is Apache licensed OSS.
> Also, nothing you wrote addresses the
On May 4, 2016, at 6:08 PM, Johannes wrote:
> okay, but why does the following work without quotation?
> user> (def f- (let [v 1
> f (fn [x] x)] f))
> ;; => #'user/f-
> user> (eval {:d f-})
> ;; => {:d #function[user/fn--14679/f--14680]}
> user>
>
> The problem is that the place
What?
Clojure contrib wrapper for JDBC
https://github.com/clojure/java.jdbc#change-log
The 0.6.0 Alpha builds have been out for a couple of weeks and we have Alpha 2
in production at World Singles. I’ve received no reports of problems with the
new API so I’m declaring Release Can
Am Mittwoch, 4. Mai 2016 23:47:07 UTC+2 schrieb Ben Kovitz:
>
> On May 4, 2016, at 5:28 PM, Johannes >
> wrote:
>
> Maybe you are right. But I've deliberately given function objects to eval
> often without any problems until I used functions of some special kind. I
> do not understand why the
On May 4, 2016, at 5:28 PM, Johannes wrote:
> Maybe you are right. But I've deliberately given function objects to eval
> often without any problems until I used functions of some special kind. I do
> not understand why the behavior for the 2 versions of the function f- I've
> shown is differe
Am Mittwoch, 4. Mai 2016 21:24:08 UTC+2 schrieb Ben Kovitz:
>
> On May 4, 2016, at 2:32 PM, Johannes >
> wrote:
>
> > Is there any explanation for this behavior?
>
> My understanding is that you can't eval function objects. Whatever you
> give to eval needs to be code that you could enter int
What?
boot-new – Template / code generation support for Boot
https://github.com/seancorfield/boot-new/releases/tag/v0.4.3
New?
Now supports calls to leiningen.core.main/leiningen-version
This means the Luminus template can now be used with boot-new!
Usage?
Greetings
I'm happy to announce an early SNAPSHOT release of Datsync, a
Clojure(script) library for syncing Datomic and DataScript databases.
Github: https://github.com/metasoarous/datsync
Coordinates: [datsync "0.1.0-SNAPSHOT"]
The library is built around a small handful of functions for transl
For the most part, you can program complex programs in Clojure without ever
dropping down to Java.
There are only a handful of Java libraries that are important to know well,
primarily because Clojure chose not to implement certain functionality that
is readily available on the host system.
Examp
On May 4, 2016, at 2:32 PM, Johannes wrote:
> Is there any explanation for this behavior?
My understanding is that you can't eval function objects. Whatever you give to
eval needs to be code that you could enter into the REPL. You couldn't type
#function[user/fn--13335/f--13336] into the REPL
Hi!
I have a function f- defined using a local function f which uses a local
var v:
user> (def f- (let [v 1
f (fn [x] v)] f))
;; => #'user/f-
Putting f- in a map
user> {:d f-}
;; => {:d #function[user/fn--13335/f--13336]}
all is as expected. But giving the map as argument to eval
u
Hi - Looks like we got disconnected. Is there a number where I can dial in?
Alan
On Wed, Apr 13, 2016 at 2:59 PM, wrote:
> The API Banking is a new Agile team being assembled to build a brand-new
> web, mobile and api digital banking platform from the ground up, using the
> latest cutting edge
Yes, there were some changes relating to tuples in the 1.8 alphas that made
2-element vectors valid map entries. However, this was done by having
IPersistentVector extend IMapEntry which meant that (from a type
perspective) all vectors were valid map entries. In practice, this led to
some trick
Hi, Bruce.
I know almost no Java, and yet I have been a fairly productive professional
Clojure programmer for several years. How is that possible? Here are my
thoughts:
1. A lot of code is application logic. This will be 100% Clojure.
2. The next big chunk of code is talking to databases, we
I'm also wondering if there is any advantage at all to using key/val over
first/second. The only downside I can see is that the code won't be clear.
On Wednesday, 4 May 2016 09:52:40 UTC-7, adrian...@mail.yu.edu wrote:
>
> I may be misremembering here, but I think this was briefly implemented fo
I may be misremembering here, but I think this was briefly implemented for
an alpha release of 1.8.0. I think the entire feature in question is being
reworked for the future, but I'm uncertain of the details. Perhaps others
can chime in with the background motivating those changes and reversions
I've noticed that, in Clojure, there is a MapEntry type that supports the
operations "key" and "val", but in Clojurescript, MapEntry is replaced by
simple 2-element vectors.
Furthermore, 2-element vectors can be used in almost all other cases where
a MapEntry is expected, and MapEntries suppor
I am posting this on-list as Fluid Dynamics uses an email address that
blocks incoming emails.
This message and the prior one in this thread cross the line from seeking
or sharing information about Clojure and into personal attacks against
people that are on this list and have spent countless y
At last a question I can contribute to.
There's certainly no need to be a Java "guru" to become "good" at Clojure,
although it depends on what you definition of "being good at something" is.
I'm far from being a Java guru, really, I've learned it only 8 years ago
(at school) and only practiced for
Hello,
There is much I like about Clojure - from it being a Lisp
dialect to functional programming. I know it runs on the JVM. My question
is
this: If one is not a guru with Java will that be a problem becoming good
at Clojure? The only thing that intimidates me about Java
is the
You should try posting on the Counterclockwise users mailing list
at https://groups.google.com/forum/#!forum/clojuredev-users
There are some other posts there about issues when Java is upgraded that
might be similar.
On Tuesday, May 3, 2016 at 11:26:00 PM UTC-5, Fluid Dynamics wrote:
>
> My cop
On Wednesday, May 4, 2016 at 7:12:35 AM UTC-4, Miguel Ping wrote:
>
> Seems like you need to update eclipse? I'm guessing Marketplace Client is
> from eclipse.
>
It's the standalone CCW. But I tried to update all of the components listed
as inside it, including the Eclipse based ones. I'm fairly
+1 for Pivotshare videos: how to use YourKit efficiently
On May 4, 2016 03:56, "Colin Fleming" wrote:
> As would I - I've used YourKit a bit but the results can often be pretty
> impenetrable. Also, knowing how to interpret results specifically for
> Clojure would be great too.
>
> Jonathon, if y
Seems like you need to update eclipse? I'm guessing Marketplace Client is
from eclipse.
I recommedn using either cursive or emacs anyway :D
On Wednesday, May 4, 2016 at 5:26:00 AM UTC+1, Fluid Dynamics wrote:
>
> My copy of CCW 0.28.0_STABLE001 has mysteriously grown a bug. My guess is
> it's a
What about:
safe-cell? (as described)
reveal-safe-cells (as existing)
(defn reveal-safe-cells-if-safe-cell [gs]
(if (safe-cell? gs)
(reveal-safe-cells gs)
gs))
and elsewhere
(-> gs
...
...
(reveal-safe-cells-if-safe-cell)
...
...)
--
You received this message because you a
30 matches
Mail list logo