So after a couple of months drooling over ClojureScript's more advanced
facilities, I've finally managed to play with Protocols and Records.
It feels a bit OO-ish me, but can't see how I could survive without it
Is this really functional programming or did I subconsciously revert to OO?
Powe
(I might well be wrong about Mori not providing atom. I see in project.clj
that the entire cljs.core namespace seems to get included. Additionally it
uses the new modules feature already so adding an optional module is
entirely possible without overhead.)
On Wed, May 6, 2015 at 9:07 AM, Oliver G
I was hoping to get a little feedback on an approach to iOS app development
(today).
I would advantage of David & Mikes efforts (+ the associated GSoC) but it
feels a bit too soon so I'm wondering how to future proof but still deliver
a product in the next few months.
One idea is to do a javascri
Thanks, David. Somewhere along the line my knowledge and understanding of
:foreign-libs and :externs was confused or incomplete. I went back and reviewed
the docs.
Cheers,
Jamie
On May 5, 2015, at 12:42 PM, David Nolen wrote:
> This has nothing to do with :foreign-libs. You must supply ext
This has nothing to do with :foreign-libs. You must supply externs for
non-Closure libraries.
David
On Tue, May 5, 2015 at 12:29 PM, Jamie Orchard-Hays
wrote:
> Been chasing a bug this morning which turned out to revolve around using
> Big.js for BigDecs in my re-frame app.
>
> Big.js has a syn
Been chasing a bug this morning which turned out to revolve around using Big.js
for BigDecs in my re-frame app.
Big.js has a synonym for add()--plus()--which worked fine in my dev compilation
mode of :none. For production compilation with :advanced, my reduce function
was blowing up.
Here's h
It works for ClojureScript originated Closure Defines, not Google Closure
originated ones. Happy to take a patch that solves the general case.
David
On Tue, May 5, 2015 at 10:47 AM, Thomas Heller wrote:
> http://dev.clojure.org/jira/browse/CLJS-1014
> makes me think that defines should work in
http://dev.clojure.org/jira/browse/CLJS-1014
makes me think that defines should work in :none, not sure why they don't.
If you want to use Closure defines in :none while developing you can put them
into your HTML manually before including the javascript (or use shadow-build).
For standard CLJS j
Thanks for elucidation. In my particular case, I was just trying to test that I
was using goog.DEBUG correctly from project.clj but in a dev mode which has
:none for optimizations. I missed docs that :closure-defines doesn't work in
that mode.
I've updated the wiki page to the effect that :clo
On Tuesday, May 5, 2015 at 11:02:15 AM UTC+10, Jamie Orchard-Hays wrote:
> WRT wiki: looking at this commit, it looks like a keyword works:
>
>
> https://github.com/clojure/clojurescript/commit/cb7e97f13ae6a03086f5d96ba58e5f3d5cba7dc3
>
>
> (name key)
>
>
>
>
> Jamie
>
>
> On May 4, 2015,
10 matches
Mail list logo