On Sun, 2012-09-09 at 03:33 +0200, Phlex wrote:
> the docstring explicitly says that the state is a map and that the
> function returns the value corresponding to this key. This does break
> for a string or integer key. There is no way around it, this is a bug.
Sure, but a documentation bug, or a
You sir are nitpicking on me !
On 9/09/2012 02:05, Stephen Compall wrote:
https://gist.github.com/3667614
-(key s))) ;; only works for keyword keys
+(key s))) ;; works for arbitrary functions
You of course are right, the key parameter could be a function and this
might be useful in so
Hi,
Any help wd be appreciated; this is what happened (environment is Cygwin on
win7):
$ lein2 trampoline cljsbuild repl-rhino
Running Rhino-based ClojureScript REPL.
"(do (require (quote cljsbuild.repl.rhino)) (do (clojure.core/ns
leiningen.core.injected) (defn- compose-hooks [f1 f2] (fn [& args
On Sat, 2012-09-08 at 07:39 +0200, Phlex wrote:
> I was unable to contact a maintainer of this library on irc
I suggest using http://dev.clojure.org/jira/browse/ALGOM to report
algo.monads bugs.
> https://gist.github.com/3667614
-(key s))) ;; only works for keyword keys
+(key s))) ;; wor
Armando Blancas writes:
> I'd say on the basis of convenience, since we get to serialize and
> deserialize for free (o with customizations), and for most cases the
> author on both ends is likely to be the same person or team.
I find that to be a specious defense. If we expect the same author to
Ben Smith-Mannschott writes:
> I follow forbidding "-4bar" since that means potentially unbounded
> look-ahead to distinguish numbers from non-numbers.
>
> Presumably forbidding ".4bar" is for the same reason, though ".01"
> doesn't appear to be a valid numeric literal. (Numeric literals all
> st
On Fri, Sep 7, 2012 at 3:01 AM, Rich Hickey wrote:
> I've started to document a subset of Clojure's data format in an effort to
> get it more widely used as a data exchange format, e.g. as an alternative to
> JSON.
>
> Please have a look:
>
> https://github.com/richhickey/edn
>
"If - or . are t
On Saturday, 8 September 2012 23:36:49 UTC+5:30, David Nolen wrote:
>
> On Sat, Sep 8, 2012 at 1:50 AM, Shantanu Kumar
> >
> wrote:
> > In CLJS:
> >
> > ClojureScript:cljs.user> (= 'a (symbol 'a))
> > false
> >
> > Shantanu
>
> Fixed in master.
>
Thanks!
Shantanu
--
You received th
On Sat, Sep 8, 2012 at 1:50 AM, Shantanu Kumar wrote:
> In CLJS:
>
> ClojureScript:cljs.user> (= 'a (symbol 'a))
> false
>
> Shantanu
Fixed in master.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googl
On Sat, Sep 8, 2012 at 1:50 AM, Shantanu Kumar wrote:
> Hello,
>
> I found this bug related to `symbol` and quoted symbols in CLJS. Explained
> below.
>
> In Clojure:
>
> user=> (= 'a (symbol 'a))
> true
>
> In CLJS:
>
> ClojureScript:cljs.user> (= 'a (symbol 'a))
> false
>
> Unless this is relate
I'd say on the basis of convenience, since we get to serialize and
deserialize for free (o with customizations), and for most cases the author
on both ends is likely to be the same person or team. For other languages,
producers don't work any harder either way, and consumers are free to
interpr
On 08/09/12 16:56, Denis Labaye wrote:
Anyway, it works fine with the 0.5.2-SNAPSHOT (I've got "network
traing" logs), but how do I use the network I just trained ?
In your example I would like to give it a new input, and see if "it"
learned correctly his xor lesson :)
basically, you need t
On Sat, Sep 8, 2012 at 2:00 PM, Jim - FooBar(); wrote:
> Hi Denis,
>
> you cannot bring 2 vars named 'network' in the same namespace...
>
I choose another name for the network, but even with that I got the
clojure.lang.MultiFn cannot be cast to
org.encog.neural.networks.ContainsFlat (I just copi
Hi Denis,
as promised, I pushed enclog 0.5.2-SNAPSHOT to clojars 5 minutes ago and
updated the demo examples on github to show the new code style. tested
all the examples and everything works just fine...if you find anything
unusual feel free to poke me :-)
aaa btw 0.5.2 has nice documentati
Michael Fogus writes:
> Data formats do not exist in a vacuum. They are parsed by languages.
> Some may have a fine-grained distinction between lists, arrays/vectors
> and sets and some may not.
The concern I have is for someone wanting to define a format atop EDN --
or, to put it differently,
Thanks!
I'm still interested in patch for recommendation #3:
Restore the fastest path possible for those cases where the keys are
compile-time detectable unique constants
I'd like to see all three recommendations go into a release as a set.
On Sep 8, 2012, at 2:22 AM, Andy Fingerhut wrote:
Denis Labaye writes:
> On Fri, Sep 7, 2012 at 9:11 PM, Hugo Duncan wrote:
>
>>
>> Ritz is a collection of repl servers, middleware and repl utility
>> functions, supporting nREPL and swank/slime. The repl utilities can be
>> used from any repl.
>>
>
> Does ritz/swank replace lein-swank?
The equ
Hi Denis,
you cannot bring 2 vars named 'network' in the same namespace...It is
partly my fault cos since I changed 'make-network' to 'network' I should
have changed the examples as well...try again but instead of 'network'
define your neural-net as 'net' or something cos there is alaredy a
'
Herwig/Marko,
Below is the code -
(def my-app (app
wrap-stacktrace
(wrap-file "resources/public/")
[""] "Hello World"
["/"] "Hello World Second"
[page] (-> (chrome page) response constantly)
[&] (-> "Nothing was found"
On Tue, Sep 4, 2012 at 9:05 PM, Jim - FooBar(); wrote:
> Hi all,
>
> just wanted to let you know that I renamed 'clojure-encog' to *enclog*
> ...release 0.5.0 does not add anything but several 'library coding
> standards' that i was previously not aware of, have been addressed...
>
> I created a
On Thu, Sep 6, 2012 at 6:42 PM, lambdatronic wrote:
> For those people (like myself) who do a lot of Literate Programming in
> Emacs using Clojure and org-babel, migrating to nrepl and nrepl.el is
> somewhat non-trivial. This is because the existing Clojure support in
> org-babel (ob-clojure.el)
On Fri, Sep 7, 2012 at 9:11 PM, Hugo Duncan wrote:
>
> Ritz is a collection of repl servers, middleware and repl utility
> functions, supporting nREPL and swank/slime. The repl utilities can be
> used from any repl.
>
Does ritz/swank replace lein-swank?
Thanks,
Denis
>
> The 0.4.1 release is
On Wed, Sep 5, 2012 at 12:31 AM, Brian Marick wrote:
> I'm trying to write exercises for multimethods. Book readers will be
> working at the repl. Multimethods are stateful in a bad way, as shown
> below. Is there some sort of trick to using multimethods at the repl, or
> should I just give up on
23 matches
Mail list logo