phi...@free.fr writes:
I have read up on atoms and used swap! to set the urls2 vector atom in
my code. Thanks.
One problem remains though: I can't retrieve the atom vector's items
*(nth urls 10)*
throws the following exception
java.lang.UnsupportedOperationException: nth not supported
On Wed, Aug 13, 2014 at 7:59 PM, Colin Fleming
colin.mailingl...@gmail.com wrote:
This looks really great. Due to limitations in Clojure's interop I'm forced
to use much more Java than I'd like in Cursive itself
Could you elaborate on this Colin?
--
Sean A Corfield -- (904) 302-SEAN
An
Peter,
Just wanted to say thanks for Sente. Just dropped it into an existing
application. Going to make improving the UI alongside Om a breeze.
Thanks,
Andrew
On Wednesday, 26 February 2014 13:57:24 UTC, Peter Taoussanis wrote:
Hi folks,
Quick post to announce a new lib release:
You're very welcome Andrew, thanks for saying so!
Cheers! :-)
--
*Peter Taoussanis*
taoensso.com https://www.taoensso.com
--
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
Yes, thanks for Sente, Peter!
Will Sente eventually use/support Transit? :-)
On Friday, August 15, 2014 11:30:56 AM UTC+2, Peter Taoussanis wrote:
You're very welcome Andrew, thanks for saying so!
Cheers! :-)
--
*Peter Taoussanis*
taoensso.com https://www.taoensso.com
--
You
This is getting old. Any suggestions or plans to fix it? Do I need to
use some other common declaration style for functions?
; CIDER 0.5.0 (Clojure 1.6.0, nREPL 0.2.3)
user (defn foo [ {:keys [bar]}] bar)
#'user/foo
user (foo :baz 1)
nil
In my opinion the compilation of the call to foo
On Thu Aug 14 19:04 2014, dgrnbrg wrote:
You're all right--that was a cut paste error. I meant that I see this
behavior with alt!!, not alts!
With alt!!, it should probably be something like:
(let [result (alt!! [[inner-chan e]] ([v] (if v
Hi Dave,
Somewhat related: I've been looking at Prismatic's Schema [1] along with
ordinary pre and post conditions to apply stricter runtime controls on
suites of functions that take and return maps:
user= (require '[schema.core :as sc])
nil
user= (def FooIn FooIn must have a string at :bar, a
Hi,
is there a recommended way to do complex arithmetic in clojure ?
I am interested to see clojure going forward for scientific computing
purposes.
There is already considerable effort going on with core.matrix, incanter,
expresso etc.
But something thad is oddly lacking is support for
Hi all,
I've just released Nomad 0.7.0, a configuration management library that
makes it simple to configure instances of your applications on multiple
machines; and Frodo 0.4.1 - a web server that is configured using Nomad and
uses Stuart Sierra's 'Reloaded' pattern.
Github repos are at
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The best way to build a complex arithmetic package is probably to work
atop `clojure.algo.generic`. I've done a pair of libraries
(https://github.com/arrdem/imprecise, https://github.com/arrdem/meajure)
based around extending algo.generic with custom
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Comments inline
On 08/15/2014 06:47 AM, Dave Tenny wrote:
This is getting old. Any suggestions or plans to fix it? Do I need to use
some other common
declaration style for functions?
; CIDER 0.5.0 (Clojure 1.6.0, nREPL 0.2.3)
user (defn foo
I don't know how hard or easy it might be to implement a check like this in
a lint tool like Eastwood, but I've created a Github issue for it with the
idea, linking to this discussion, in case someone thinks of a way.
https://github.com/jonase/eastwood/issues/83
Andy
On Fri, Aug 15, 2014
Hi,
On Fri, Aug 15, 2014 at 7:00 PM, Reid McKenzie rmckenzi...@gmail.com
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The best way to build a complex arithmetic package is probably to work
atop `clojure.algo.generic`. I've done a pair of libraries (
On 14 August 2014 17:31, Constantine Vetoshev gepar...@gmail.com wrote:
On Thursday, August 14, 2014 6:46:56 AM UTC-7, James Reeves wrote:
You can do this with Environ. Leiningen checks for a profiles.clj in your
project directory, as well as then one in $HOME/.lein. If you add
profiles.clj
On 14 August 2014 17:36, Constantine Vetoshev gepar...@gmail.com wrote:
2. Loading env files in the REPL, and modifying the environment at runtime
in general. Environ only handles loading variables when it loads itself,
and has no provision for modifying them except by restarting the Clojure
So, if a list whose first element is a vector is provided after a get or a
put in alt!, then that's treated as the binding form/code to be executed if
that succeeds, but if a non-list is provided, then that is treated as a
value to return if that action was taken (and that value is evaluated
So, if a list whose first element is a vector is provided after a get or a
put in alt!, then that's treated as the binding form/code to be executed if
that succeeds, but if a non-list is provided, then that is treated as a
value to return if that action was taken (and that value is
Announcing an initial release of a wrapper for java.nio.file's classes and
methods.
It's hard to use java.nio.file.* from clojure, and this library makes that
easier.
Instead of rehashing the documentation, I'll just point you at the
repository:
https://github.com/ToBeReplaced/nio.file
In
19 matches
Mail list logo