Hi,
I have the following clojurescript project dependency setup: X -> Y (X has
stated Y in :dependencies). Now, I would like Y to depend on a npm
javascript library Z. Following the guides, I added :npm-deps to one of the
builds specified in Y. When I build and run Y, everything works fine with
For spec'd functions, you may check them automatically with
clojure.test.check.alpha/check. Is there something similar for spec'd
macros? I can always use test.check to generate unit testing parameters
for macros, but is there a way to get that for free with Clojure spec?
Regards,
Dylon
--
By clojure.test.check.alpha, I meant clojure.spec.test.alpha. If there's
not a way to check macros now, is the feature planned?
On Monday, January 15, 2018 at 12:44:01 AM UTC-8, Dylon Edwards wrote:
>
> For spec'd functions, you may check them automatically with
> clojure.test.check.alpha/check
Hi all,
The company are work for are hiring and looking for developers (and yes we
do a lot of Clojure). See here for the details:
https://medium.swirrl.com/swirrl-is-hiring-ed456c08b78b
R.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post t
I’d like to have a namespace loaded with dev-only versions of some
functions.
Is there a better way than using environ with ‘require’ and ’ns-resolve’ to
do this?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to
With macros I believe you get compile time check, ie, static checking. This is
because the input to a macro is availaible at compile time, so spec just
validates it on macro-expanssion.
You can use test.check to instrument a generative test to test the expanded
code too if you want.
--
You r
stest/check does not work with spec'ed macros. In general, most macros emit
code (in the form of data) and in my experience it's usually either not
possible or more effort than it's worth to write :ret or :fn specs for
macros, so in practice I have not found this to be needed.
stest/instrument
And you do all this in Clojure ? ;)
On Mon, Jan 15, 2018 at 9:11 PM, wrote:
> 1. We can guarantee the quality of the product.
>
> 2. Fast and safe delivery (INTERNATIONAL)- ( E-mail.. dave joine company
> @ gmail . com ).
>
> 3. USA ( call/text (469) 772-0415 or (406) 201 9486 <(406)%20201-
That helps a lot, thanks!
On Mon, Jan 15, 2018 at 10:54 AM Alex Miller wrote:
> stest/check does not work with spec'ed macros. In general, most macros
> emit code (in the form of data) and in my experience it's usually either
> not possible or more effort than it's worth to write :ret or :fn spec
>
>
>
>
>> I’d really like a dependency system that makes each dep’s transitive
>> dependencies only visible to itself, so there would never be any reason to
>> resolve dependencies.
>>
>
> You need classloader support for this and indeed this is what OSGi and
> some early versions of the Jav
My $0.02,
I was a very early Clojure adopter, but I stopped using it when Oracle
bought Sun (I left the JVM completely at that time). I am currently using
ClojureScript a lot - for the last 6 months or so, thus not the most
experienced programmer.
Most of my usage is doing scientific simulations
11 matches
Mail list logo