Nothing’s wrong with the code, but the `do` inside the catch form is
unnecessary. Also, this won’t always convert to a float. Consider using
Float/parseFloat, e.g., (Float/parseFloat “3.0”)
> On Aug 13, 2014, at 3:31 PM, sindhu hosamane wrote:
>
> (defn convert-to-float [a]
> (try
>
Maybe you want an Agent.
On Jun 20, 2014, at 12:10 PM, Hussein B. wrote:
> Hi,
>
> I have a ref that saves the ID of last processed event.
>
> Of course, I'm using Clojure STM facility. The problem now is I can't control
> the value of the ref. Due massive concurrency, it is updated and my lo
Very cool, good luck to you!
---
Joseph Smith
j...@uwcreations.com
@solussd
On Nov 12, 2013, at 5:52 PM, Ryan Spangler wrote:
> Hello Clojure,
>
> Excited to announce today the release of Caribou! http://let-caribou.in/
>
> We have been building web sites and web applications with it fo
Thanks- addresses my duplicate bug!
---
Joseph Smith
j...@uwcreations.com
@solussd
On Nov 8, 2013, at 5:11 PM, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> New release
The string concatenation operator in java calls 'toString' on it's args.
---
Joseph Smith
j...@uwcreations.com
@solussd
On Oct 8, 2013, at 2:29 PM, Cedric Greevey wrote:
> On Tue, Oct 8, 2013 at 8:49 AM, Nando Breiter wrote:
>
> If you try and add 10 to "Hello" in a typed language, you g
I see that clojure.core/format is gone. Is there a replacement/alternative?
---
Joseph Smith
j...@uwcreations.com
@solussd
On Sep 16, 2013, at 7:31 AM, David Nolen wrote:
> Nicola Mometto also deserves quite a bit of credit, the fact that
> tools.reader emits line and column information o
Exciting!
---
Joseph Smith
j...@uwcreations.com
@solussd
On Sep 16, 2013, at 8:50 AM, Rich Hickey wrote:
> I just wanted to let everyone know that Metadata Partners (the company behind
> Datomic) and I have merged with Relevance, Inc., to form Cognitect, Inc. This
> merger is great for C