Exactly my first reaction! :-)
Great idea, zirkonit!
Carl
On Mon, Jan 12, 2015 at 4:52 PM, wrote:
> It seems so obvious in retrospect... :) Good job.
>
> On Monday, January 12, 2015 at 4:43:08 PM UTC-5, zirkonit wrote:
>>
>> A tiny library, my first open-source Clojure release. Removes some
>
I completely agree that the order of arguments is backwards - precludes the use
of 'partial'.
Other than that, good job. Very clever idea.
--
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
If what you want is a parser not a reader, I reworked this [1] recently
and to the limits of my testing it's "correct" in that it parses every
reader construct I thought of to throw at it. You could improve it, I
believe that #() nesting is supported by this grammar, but I was trying
not to com
I agree that tools.reader is probably the best way to go.
The following note is off the top of my head without double-checking the
details, so please take it with a bit of "needs verification of details"
thought.
Even with tools.reader, I believe you either need to eval ns forms, or do
your own p
https://github.com/clojure/tools.reader is probably your best bet.
On Friday, January 16, 2015 at 12:13:22 AM UTC+1, zirkonit wrote:
>
> I'm thoroughly confused. If I want to parse clojure code from string
> without evaluating or caring a lot about its context, I'm out of luck.
>
> EDN tools chok
I'm thoroughly confused. If I want to parse clojure code from string
without evaluating or caring a lot about its context, I'm out of luck.
EDN tools choke on reader macros ( #(blah % blah) is not valid EDN ), yet
more context-aware tools like read-string with *read-eval* set to false
choke on
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 biggest friction
point was that I would have to change which libraries I use and revisit all
the
Clever. The doc-strings for dformatter and dformat could use a little work.
Remember, people will use (doc whatever) in the REPL so “same as above” isn’t
very useful. Also, the dformatter doc implies more arguments than it actually
takes. The order of arguments to dformat seems backwards to
Euuh ? I was expecting to find %5 and above and a bunch of embedded forms
--
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
Looks really useful. I would recommend using (fn [] ...) instead of #(...)
here:
https://github.com/zirkonit/dformat/blob/master/src/dformat/core.clj#L115.
Makes the code more readable.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to t
Alpha5 works for me.
I noticed that the doc-string for *unchecked-math* doesn't mention the
:warn-on-boxed behavior.
Suggestion: "While bound to true, compilations of +, -, *, inc, dec and the
coercions will be done without overflow checks. While bound to :warn-on-boxed,
a warning will
Oh genius. Thanks! (Also thanks for pointing out the MASSIVE security hole
I was trying to create for myself.)
On Thursday, January 15, 2015 at 6:19:04 AM UTC-5, Jony Hudson wrote:
>
> Hi Sam,
>
> I think `lein gorilla :ip 0.0.0.0 :port 5` should work (it works on
> my machine). And if your
Just to be clear, "Clojure" should be read in a big tent way here to include
ClojureScript and anything Clojure-related of course. ClojureScript talks
desired!!
Alex
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email
Hi Sam,
I think `lein gorilla :ip 0.0.0.0 :port 5` should work (it works on my
machine). And if your router is forwarding 5 to that machine correctly
then it should be accessible from outside. `lein gorilla :ip ROUTER_IP
:port 5` shouldn't work because ROUTER_IP isn't an IP address
Reported here: https://github.com/technomancy/leiningen/issues/1800
The workaround is to remove any "wget" or "curl" in your PATH, which will
force lein.bat to use powershell (when downloading from github).
On Monday, January 12, 2015 at 9:25:26 PM UTC+11, Jean Niklas L'orange
wrote:
> Hi t
15 matches
Mail list logo