Re: Satisfies? seems strangely slow

2015-01-24 Thread Tassilo Horn
Fluid Dynamics writes: Hi! > One approach is to have a first-class-edges? method in the mother > graph protocol. Another is to have such a method in IEdges and extend > that to Object with first-class-edges? returning false and the other > IEdges-specific methods throwing IllegalStateExceptions

ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread David Nolen
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version: 0.0-2719 Leiningen dependency information: [org.clojure/clojurescript "0.0-2719"] ClojureScript is not an island, like Clojure on the

[ANN] Introducing 'Phoenix' - a new library for declarative configuration and wiring of Component-based systems

2015-01-24 Thread James Henderson
Hi all, I've just released Phoenix - a library for declarative configuration and wiring of Component-based systems. Phoenix came out of a number of discussions at ClojureX, thank you to all involved for their suggestions and feedback :) https://github.com/james-henderson/phoenix If you’ve wri

Re: Real time stuartsierra/component system visualisations

2015-01-24 Thread Frozenlock
Amazing, thanks a lot! On Monday, January 19, 2015 at 7:18:35 AM UTC-5, JUAN ANTONIO Ruz wrote: > > Hi folks, > > just sharing here [milesian/system-diagrams > ] a tool to get real time > system visualisations of your internal protocol calls in > stu

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread David Nolen
On Sat, Jan 24, 2015 at 10:43 AM, Martin Klepsch < martinklep...@googlemail.com> wrote: > A general question/concern I'd like to voice in that context is that > this change makes it hard to split JS preamble from our compiled > Clojurescript. Given that the Clojurescript code might change on a >

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread Khalid Jebbari
A question (maybe stupid/obvious) : why do you need to declare the "min" version of js lib ? The normal version + the extern file is all that's needed to compress the file with the Closure Compiler, no ? Thanks by way, this means moving towards better integration with (the jungle that is) the j

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread David Nolen
On Sat, Jan 24, 2015 at 11:01 AM, Khalid Jebbari wrote: > A question (maybe stupid/obvious) : why do you need to declare the "min" > version of js lib ? The normal version + the extern file is all that's > needed to compress the file with the Closure Compiler, no ? > Declaring the minified versi

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread Bruce Hauman
Great stuff! This will smooth things out quite a bit. I spent far too much time just yesterday trying to get an advanced build working right. Thanks! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goo

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread Martin Klepsch
David, thanks for making those improvements to Clojurescript, they'll make things a lot easier in the future. In the realm of Boot we started working on CLJSJS as an effort to package up and ship popular Javascript libraries for use in Clojurescript [1]. While these packages have only been compa

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread Daniel Kersten
Thanks David for your continued hard work - another fantastic release. This looks really good and solves real problems. On Sat, 24 Jan 2015 16:09 David Nolen wrote: > On Sat, Jan 24, 2015 at 11:01 AM, Khalid Jebbari > wrote: > >> A question (maybe stupid/obvious) : why do you need to declare th

ANN: Om 0.8.2

2015-01-24 Thread David Nolen
The dependency information has changed: [org.omcljs/om "0.8.2"] The release depends on ClojureScript 0.0-2719 as it leverages the new foreign dependency functionality to simplify development and production builds. Feedback welcome! https://github.com/swannodette/om David -- You received this

Re: [ClojureScript] ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread Moritz Ulrich
David Nolen writes: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/clojurescript > > New release version: 0.0-2719 > > Leiningen dependency information: > > [org.clojure/clojurescript "0.0-2719"] > > ClojureScrip

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread David Nolen
Some further explanation on packaging JavaScript libraries for ClojureScript consumption https://github.com/clojure/clojurescript/wiki/Foreign-Dependencies On Sat, Jan 24, 2015 at 10:10 AM, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and

Re: Testing macros that throw errors at compile time?

2015-01-24 Thread Scott Rabin
Thanks Ben & Michael, that works! On Thursday, January 22, 2015 at 5:08:31 PM UTC-8, Michael Blume wrote: > > macroexpand-1 is a good start, I'd also recommend using the (is (thrown? > ...)) special form, so > > (is (thrown? IllegalArgumentException (macroexpend-1 '(my-macro > (ill-formed-argume

[ANN] Buddy 0.3.0: Security library for clojure.

2015-01-24 Thread Andrey Antukh
Hi! I am happy to announce a new release of buddy (security library for Clojure). Since 0.3.0, buddy is split from monolithic library in four modules: - buddy-core: Cryptographyc api. - buddy-sign: High level message signing - buddy-auth: Authentication and Authorization facilities for ring base

Help: Instantiating a known record from an unknown namespace

2015-01-24 Thread Elric Erkose
Hello, I have an app which specifies a protocol and a record name. At runtime, it searches the classpath for files implementing the specification and creates a map of namespace to instance for each. Before I implemented the protocol, I just specified function names. I was able to lookup the fun

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread David Nolen
I just cut 0.0-2723. The significant change is an often requested feature - that script inclusion for :none be the same as other build settings. This is finally supported if you provide a :main entry specifying a namespace. {:main hello-world.core :output-to "hello_world.js" :output-dir "out" :

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread David Nolen
And just cut 0.0-2725 to address a Node.js target support regression. David On Sat, Jan 24, 2015 at 10:10 AM, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/clojurescript > > New release version:

Re: Clojurescript to target JVM?

2015-01-24 Thread Gerrit Begher
Hi Sam; I'm currently trying to get some functions written in clojure(-script) running on Android, wrapping them in a java class generated by rhino. Currently, I'm stuck at overcoming the 64k limit. Could you explain the splitting process in some greater detail? All the best, Gerrit PS ~ Any

Re: Help: Instantiating a known record from an unknown namespace

2015-01-24 Thread Fluid Dynamics
On Saturday, January 24, 2015 at 1:43:15 PM UTC-5, Elric Erkose wrote: > > Hello, > > I have an app which specifies a protocol and a record name. At runtime, it > searches the classpath for files implementing the specification and creates > a map of namespace to instance for each. Before I implem

Re: Help: Instantiating a known record from an unknown namespace

2015-01-24 Thread Moritz Ulrich
Fluid Dynamics writes: > On Saturday, January 24, 2015 at 1:43:15 PM UTC-5, Elric Erkose wrote: >> >> Hello, >> >> I have an app which specifies a protocol and a record name. At runtime, it >> searches the classpath for files implementing the specification and creates >> a map of namespace to i

Re: Help: Instantiating a known record from an unknown namespace

2015-01-24 Thread Elric Erkose
Thanks. -- 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 from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread David Nolen
Just cut 0.0-2727 to fix an issue around the new :main support. ClojureScript now supports an :asset-path option to control how the :main script imports other scripts in order to respect whatever asset configuration you may have set up for your web server. David On Sat, Jan 24, 2015 at 4:22 PM, D

Re: Clojurescript to target JVM?

2015-01-24 Thread Alan Moore
inline... On Thursday, January 15, 2015 at 8:47:34 AM UTC-8, Adam Clements wrote: > > I've been looking at getting my startup time down on my Clojure on android > app (it needs to be at least an order of magnitude smaller before I can > ship), and revisited this as a potential candidate. The big

Re: ANN: Om 0.8.2

2015-01-24 Thread Makoto H.
I am update om to 0.8.2, then:require causes an error. (ns om-app.hello (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros true] ) ) clojure.lang.ExceptionInfo: No such namespace: com.facebook.React at line 1 file:/maven/.m2/repo