Clojure: I learn to use Leiningen or boot (in my case only Leiningen), and then
I learn Clojure. Did that. Love it. Wrote moderately significant
application. Very comfortable with Clojure.
Clojurescript: Leiningen or boot, but either way it's more complicated. OK.
Want to get started.
option does
> and why it is there. You will get very fast with this once you have done it a
> couple of times.
>
>
> Just my 2 cents,
> Thomas
>
> On Tuesday, March 22, 2016 at 4:58:47 AM UTC+1, mars0i wrote:
> > Clojure: I learn to use Leiningen or boot (in my ca
This version isn't supposed to have implemented spec/double-in yet, right?
I get "Use of undeclared Var cljs.spec/double-in".
Sorry to ask--I don't know my way around JIRA well, and searching for
"double-in" brings up a lot of irrelevant tickets.
Thanks much.
--
Note that posts from new
clojure.spec/double-in defines a spec that tests whether a double is greater
than or equal to a minimum value and less than or equal to a maximum value.
This is useful for many purposes, but sometimes you need to test whether a
double is greater than a minimum or less than a maximum. There
On Monday, July 4, 2016 at 3:54:27 PM UTC-5, Linus Ericsson wrote:
> Are you aware of that reagent make react have the DOM under quite tight
> control by default?
>
> Have you made wrapped your graph along the lines of
>
This behavior seems to have to do with Reagent; it goes away when I get rid of
Reagent and use an HTML file instead.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
This looks very, very nice. The instant feedback is especially helpful.
(You are probably already working on is capturing errors to make them less
daunting.)
Klipse reminded me of Carin Meier's beautiful and poignant Hello World for
the Next Generation.
Though I have quite a bit of experience with Clojure, but I'm *very* new to
Clojurescript and to all of the tools mentioned below except (sort of) d3.js.
I have a little experimental app using reagent with figwheel. I'm using NVD3,
a d3.js chart library, to create an SVG chart. I finally got
I'm just starting out with Clojurescript (though I know Clojure pretty well),
so my comments might be misguided. However, to me it seems like it would be
difficult to get very far with Clojurescript without knowing a little bit about
Javascript. I have had to use what I know about Javascript
There's also cljs.pprint/cl-format, which is portable between Clojurescript and
Clojure (there as clojure.pprint/cl-format).
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google
This compiles in Clojure 1.9.0-alpha12 but not in Clojurescript 1.9.229:
(ns free.matrix-arithmetic
(:require [clojure.core.matrix :as mx :exclude [e*]]))
The error in Clojurescript is:
clojure.lang.ExceptionInfo: Only :as, :refer and :rename options supported in
:require / :require-macros;
ious actions that
> run on the browser of all your visitors
>
> On Sunday, 25 September 2016 19:47:03 UTC+3, mars0i wrote:
> > On Sunday, September 25, 2016 at 12:32:36 AM UTC-5, Brandon Adams wrote:
> > > The users already have a javascript repl with the same abilities and
> &g
On Monday, September 26, 2016 at 10:13:58 AM UTC-5, Alex Miller wrote:
> I think this would do what you want:
>
> (ns free.matrix-arithmetic
> (:require [clojure.core.matrix :as mx])
> (:refer clojure.core.matrix :exclude [e*]))
Thanks very much. I didn't understand that the :refer
> :exclude is not a valid option here (it's not having any effect). (doc
> require) mentions only :as and :refer as valid options in the libspec.
> :exclude is an option for :refer and :refer-clojure, not for :require.
>
> It's maybe interesting that the spec for ns does not report this problem
On Sunday, September 18, 2016 at 6:14:02 PM UTC-5, Alan Moore wrote:
> Another red pill rescue... ;-)
>
> I know how you feel... My day job is all in C++ and JS so it is nice to go
> home and work in a sane language.
>
> I sometimes apply the general principles I've learned to the day job and I
No one's commented on this, but I keep wanting to comment. I know that it's
the same content as the old site, and the same format as clojure.org, but I
still think it's great. (Sorry!)
What Clojurescript warrants.
--
Note that posts from new members are moderated - please be patient with
A good rule of thumb: One should worry that giving end-users access to a
full-fledged eval function can be dangerous, because users can then do anything
that the language can do, and cause damage to their own system or to others'.
There are numerous Clojurescript repls embedded in public web
On Sunday, September 25, 2016 at 12:32:36 AM UTC-5, Brandon Adams wrote:
> The users already have a javascript repl with the same abilities and
> permissions as the cljs repl you give them.
Oh! Good point. Got it. Thanks.
--
Note that posts from new members are moderated - please be patient
On Friday, November 25, 2016 at 10:27:19 AM UTC-6, Tommi Reiman wrote:
> Hi,
>
> Bumped into the same while writing spec-tools macros for both clj & cljs. You
> can ask from which code it's emitting. There is a good example in
> Datascript.
>
>
I'm trying to define two versions of a macro, one for Clojure and one for
Clojurescript, using reader conditionals.
I end up seeing the Clojure version in Clojurescript. I assume this happens
because the macro definition is processed by Clojure, before Clojurescript
runs, so it's the #?(:clj
On Monday, December 5, 2016 at 12:20:39 AM UTC-6, Yehonathan Sharvit wrote:
> Also keep in mind that with self host clojurescript reader conditionals
> always branch to :cljs even for macros
Ah, I was wondering about that. More complexity. Or maybe less, if one could
move to an
On Tuesday, December 6, 2016 at 11:31:59 AM UTC-6, David Nolen wrote:
> Yes we are aware of this and we do not intend to pursue since it offers
> nothing in the way of real benefits.
>
>
> It does seem potentially useful to third party efforts around bootstrapped
> ClojureScript, but that's
22 matches
Mail list logo