Ah I think I get it. 'x is a symbol pointing to a var which is a box that
contains some value (i.e. which could be a function)
i.e. the following def creates a var, puts 1 into it, then creates a symbol
'x and finally adds it to the user namespace :
user= (def x 1)
#'user/x
we can see it in
I stopped using cljx, and lein cljsbuild auto is amazingly fast.
It does look like timing issues / how cljx/cljsbuild auto triggers
work is the issue.
Someone (that happens to be suffering more from this issue) please fix it. :-)
On Fri, Mar 21, 2014 at 4:31 PM, Moritz Ulrich
Hey, this looks really simple and nice.
So, to map Joda concepts to simple-time - a *timespan* is a standard
Period (1 day is always 24 hours) and a *datetime* doesn't have a timezone,
so more akin to LocalDateTime, right?
There's also https://github.com/dm3/clojure.joda-time, in case you
Secondly, 4clojure tells me use of resolve is bad as well :
i.e. the following is my latest code
(fn evaluate [c m]
(let [ [f as]
(map
#(if (sequential? %)
(evaluate % m)
(let [x (m %)] (if x x %))) c)]
(apply (resolve f) as)))
--
You
my bad, the above example is wrong it is meant to return a function of the
environment mappings :
(fn !! [c]
(fn [m] (let [ [f as]
(map
#(if (sequential? %)
((!! %) m)
(let [x (m %)] (if x x %))) c)]
(apply ({'/ / '+ + '- - '* *} f) as
--
Hi,
This sounds sorta silly:
I'm already running lein cljsbuild auto
Now, whenver the build completes (definitely when it succeeds; I
don't care what happens when it fails), I would like to trigger an
rsync or ssh to copy the resources/release/*.js files to a remote
machine.
Is there a
Very nice! Thanks!
2014-03-22 10:35 GMT+01:00 dm3 deadmo...@gmail.com:
Hey, this looks really simple and nice.
So, to map Joda concepts to simple-time - a *timespan* is a standard
Period (1 day is always 24 hours) and a *datetime* doesn't have a
timezone, so more akin to LocalDateTime,
Hi,
On Saturday, March 22, 2014 3:52:00 AM UTC+1, Alex Miller wrote:
That's pretty weird.
that's pretty true.
1.6.0-RC2 is out now - I would really appreciate it if you could give it a
shot.
Sure. Tried with Oracle JDK 7 and 8, each run two times and took the
average. Each run
Yes, a shared channel looks nice :-)
https://github.com/amiron/tryouts/blob/master/src/cljs/tryouts/notifications.cljs#L11-L25
On Friday, March 21, 2014 6:09:57 PM UTC+2, David Nolen wrote:
On Fri, Mar 21, 2014 at 11:45 AM, Adrian Miron
adrian@gmail.comjavascript:
wrote:
On
Yes, a shared channel looks nice :-)
Hi,
lein-servlet helps you to work with servlet based apps. I pushed out
version 0.4.0 of lein-servlet to Clojars -- the changes are listed at the
URL below:
https://github.com/kumarshantanu/lein-servlet/blob/master/CHANGES.md#2014-march-22--040
Shantanu
--
You received this message because
On 22 March 2014 00:47, Stefan Kamphausen ska2...@gmail.com wrote:
On Saturday, March 22, 2014 12:41:55 AM UTC+1, Andy Fingerhut wrote:
That is odd. This is a shot in the dark, and probably unhelpful because I
do not know a good way to verify whether my guess is true, but perhaps the
seqFrom
That does sound very questionable, but you should be able to wire this
up using :notify-command:
https://github.com/emezeske/lein-cljsbuild/blob/master/sample.project.clj#L73
- Chas
On 03/22/2014 07:06 AM, t x wrote:
Hi,
This sounds sorta silly:
I'm already running lein cljsbuild
Despite numerous requests, I have so far resisted integrating cljsbuild,
cljx, and clojurescript.test. I noted my sentiments on this topic in a
comment here some time ago:
https://github.com/lynaghk/cljx/issues/25
I haven't thought about it much since then, but I suspect I will relent
at
This is great. Keep up the good work!
On Fri, Mar 21, 2014 at 5:16 PM, Karsten Schmidt i...@toxi.co.uk wrote:
Hi all, I've just pushed the first (promising) beginnings of a new
project to GH and would like to share with you:
https://github.com/thi-ng/morphogen/
Building on top of its
Thanks, Jerrod, this is great advice. Thanks so much!
On Mar 21, 2014, at 6:53 PM, Jarrod Swart jcsw...@gmail.com wrote:
A tip if you are completely stuck on 4clojure:
Often the 4clojure problem will say you can't use a particular function. The
first thing I would do is go look at the
After the above discussion, I suspect that the point of this 4clojure
question is that using eval or resolve opens up the possibility for a user
of the function to inject arbitrary code into the 'Universal Computation
Engine', whereas using a map necessarily restricts the operations to the
Unlike you (involved in all three), I'm involved in 0 of the tools.
From a very short-sighted view, it seems the problem is that lein
configuration is not clojure code.
It seems what I want is to setup core.async channels:
* a channel that gets an item whenever my foo/cljx directory changes
For me, Eastwood fails mysteriously:
$ lein eastwood
Exception in thread main java.lang.RuntimeException: No such var:
clojure.core.cache/through, compiling:(clojure/core/memoize.clj:52:3)
at clojure.lang.Compiler.analyze(Compiler.java:6380)
...
Caused by: java.lang.RuntimeException: No
Use: lein deps :tree
That should show you where the conflict is coming from (you're picking up an
old core.cache from somewhere).
Sean
On Mar 22, 2014, at 1:34 PM, Jakub Holy jakub.h...@iterate.no wrote:
For me, Eastwood fails mysteriously:
$ lein eastwood
Exception in thread main
Thank you, I have tried that but haven't found out anything. There is only
one part of the tree that mentions core cache, no conflict (perhaps b/c
there is none until eastwood enters the scene):
[leiningen 2.3.4]
[stencil 0.3.2]
[org.clojure/core.cache 0.6.2]
which is only 0.0.1 version
Ah, I ran into this as well recently with a plugin that was evaluating in
Leiningen - and thus Leiningen's dependency on Stencil (and core.cache)
overrode my own.
Are you using Vinyasa or something like that?
Sean
On Mar 22, 2014, at 2:55 PM, Jakub Holy jakub.h...@iterate.no wrote:
Thank
Yes, I am using vinyasa - see
https://github.com/jakubholynet/dotfiles/blob/master/.lein/profiles.clj
Still, Lein's core.cache is nearly the newest available...
2014-03-22 23:01 GMT+01:00 Sean Corfield s...@corfield.org:
Ah, I ran into this as well recently with a plugin that was evaluating
On Mar 22, 2014, at 3:27 PM, Jakub Holy jakub.h...@iterate.no wrote:
Yes, I am using vinyasa - see
https://github.com/jakubholynet/dotfiles/blob/master/.lein/profiles.clj
See https://github.com/zcaudate/vinyasa/issues/3
Still, Lein's core.cache is nearly the newest available...
My
I see. Thanks a lot!
2014-03-22 23:32 GMT+01:00 Sean Corfield s...@corfield.org:
On Mar 22, 2014, at 3:27 PM, Jakub Holy jakub.h...@iterate.no wrote:
Yes, I am using vinyasa - see
https://github.com/jakubholynet/dotfiles/blob/master/.lein/profiles.clj
See
Hi,
I am pleased to announce the 0.0.12-alpha1 release of data.avl, a
Clojure Contrib library providing drop-in replacements for
Clojure(Script)'s built-in sorted maps and sets with additional
functionality including support for real (non-view) logarithmic-time
slicing, splits, nearest neighbour
Read lots and lots of code. I've poured over many many GH
projects/libraries for clojure. Take a domain you are familiar with,
preferably something you've written before in another language, find a
library that does that thing and then read the code until you understand it
clearly. Try to
Greetings everyone,
About a year ago I began working on Garden and in the short time the
library has been around it's grown a bit. Although many folks seem to be
interested in it, there's certainly not as much adoption of the library as
I'd like to see. Sass, Less, and (god help us) pure CSS
Hi All,
I've made a repository for an upcoming core.matrix coding dojo that I'm
organising. I think it might be a useful resource for others in the Clojure
community, so I'm sharing the link here:
https://github.com/clojure-numerics/core.matrix.dojo
This is a basic project setup for a
A remark from someone who's not a clojure expert, and isn't familiar with
4clojure or its goals:
IMO eval isn't bad. It's a tool, and it can be abused like any tool. You
have a choice. Using eval with your original code would be a lot simpler,
but there are tradeoffs.
--
You received this
30 matches
Mail list logo