I love the idea.
A gotchas section of some sort could be useful. For instance, a detail
about `case` to consider mentioning is that Java Constants don't work as
tests.
ryans-mbp:~% cat test.clj
(let [incoming-character Character/LINE_SEPARATOR]
(println "case w/ constant"
(case inco
you might find success with putting some injections in your
~/.lein/profiles.clj file.
{:user {:injections [(defn foo[] (println "foo"))]}}
On Thu, Jul 14, 2016 at 1:13 PM, Cecil Westerhof
wrote:
> 2016-07-14 20:06 GMT+02:00 Timothy Baldridge :
>
>> There probably is, since the user.clj file c
> On Jun 12, 2016, at 10:45 AM, Alex Miller wrote:
>
> Still much to be determined about this but I expect that specs for core will
> be provided and maintained by us, because while there are a lot of obvious
> specs in core, there are also a lot of far more subtle ones.
I think this is the ri
Is there an effort to write specs for Clojure's core namespaces? Apologies
if this has already been addressed.
I've been tinkering with trivial (and probably wrong) fdefs on
clojure.core/map and clojure.core/identity. It seems that the spec
exception messages are way better than what we have now.
Great release, Curtis! I'm looking forward to cleaning up some of my
composition hacks.
On Mon, Feb 15, 2016 at 8:04 AM, Curtis Summers <
curtis.summ...@layerware.com> wrote:
> I'm happy to announce the 0.4.0 release of HugSQL.
>
> HugSQL is a Clojure library for embracing SQL in your projects.
On Tue, Feb 9, 2016 at 12:36 PM, Alex Miller wrote:
> I'm doing some research on slow Clojure boot time and would be interested
> in collecting info about example use cases where it's been a problem for
> people.
>
The following snippet helps me visualize load times. It might be helpful
to othe
2016 at 11:21:17 PM UTC, Ryan Fowler wrote:
>>
>> I've got a head-scratcher.
>>
>> A combination of aot compiling, ring-jetty, slf4j-timbre, timbre and
>> core.async causes "java.lang.NoSuchFieldError: __thunk__0__"
>>
>> I've created a
I've got a head-scratcher.
A combination of aot compiling, ring-jetty, slf4j-timbre, timbre and
core.async causes "java.lang.NoSuchFieldError: __thunk__0__"
I've created a repo that reproduces the problem for me, but I'm out of my
depth at this point. Unfortunately I couldn't seem to get rid of a
On Sun, Jan 3, 2016 at 8:04 PM, Nathan Smutz wrote:
>
> (.log js/console (. js/document getElementById "test-content"))
>
>
I suspect you need something more like this:
(.log js/console (.getElementById js/document "test-content"))
--
You received this message because you are subscribe
Thanks!
It all works. Now I'm killing myself trying to figure out what the heck I
was doing wrong.
Ryan
On Tuesday, October 9, 2012 7:44:06 PM UTC-5, Stuart Sierra wrote:
>
> clojure.test is weird (my fault) but I don't think it's that weird.
>
> Your 'defmethod' is correct, but it shouldn't ne
I'm trying to add some clojure.test/assert-expr methods to help with
failure reporting and I can't find much information on the topic. I'm
wondering if I'm on the right track. The only way I've been able to get it
to work is if the defmethod happens with *ns* bound to 'clojure.test.
The followi
11 matches
Mail list logo