I can't really figure out what the deal is with predicates. They're not
mentioned in the Basic/Advanced usage wiki pages at all. The code for
Guards and Predicates is basically identical.
The only difference that I've been able to find (beyond the spelling,
obviously):
- predicates can only
This worked for me (after some experimentation):
(pprint (mexpand-1 '(symbol-macrolet [b (+ 1 2)] b)))
;; (do (+ 1 2))
;; nil
Cheers,
H
On Saturday, 5 December 2015 07:45:38 UTC, Ritchie Cai wrote:
>
> I'm not sure how to print a macroexpand on macros that defined in macrolet
> or
Hi there, I was playing with reducers recently, and was wondering why
PersistentSets aren't foldable (i.e. don't take advantage of the Fork/Join
stuff?
Is there some fundamental reason why it wouldn't work (or is especially
difficult), or just a case that no one has gotten around to
od, so in principle
> doesn't seem like there's any reason that shouldn't work.
>
> On Tuesday, November 10, 2015 at 10:23:19 AM UTC-6, retnuH wrote:
>>
>> Hi there, I was playing with reducers recently, and was wondering why
>> PersistentSets aren't foldable (i.e. don'
,
compiling:(I:\Users\retnuH\projects\clojure\stuff\src\whatevs.clj:15:19)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6651)
at clojure.lang.Compiler.analyze(Compiler.java:6445)
at clojure.lang.Compiler.analyze(Compiler.java:6406)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3719
Hi there, I've been browsing through the code trying to wrap my head the
new reducers library.
I came across 2 functions called 'reduce' in APersistentVector.java around
line 447. The don't have the same 'reduced?' check that ArrayChunk.java
has in it's implementation of reduce (around line