options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure
...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks
because you are subscribed to the Google Groups
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its
are subscribed to the Google Groups
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence
and stop receiving emails from it, send
an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based
received this message because you are subscribed to the Google Groups
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human
/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure.
[Larousse, Drink entry]
--
--
You received
languages, if I understand it.)
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure.
[Larousse, Drink entry]
--
--
You
...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks
IPersistentSet
has to promise to uphold?
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure.
[Larousse, Drink entry
bare
symbols.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure.
[Larousse, Drink entry]
--
You received
overlooking
some very basic argument against them (I'm pretty good at that) ?*
The result wouldn't return faster if the input is an infinite list.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based
to the Google Groups
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour
it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also
On Wed, Apr 2, 2014 at 1:36 PM, Chris Lappe chris.la...@gmail.com wrote:
Wouldn't just calling rest on your collection do what you want?
(remove-first #(= % 3) [1 2 3 4 3 5]) should return [1 2 4 3 5].
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
.
To unsubscribe from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic
?
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink entry]
--
--
You received this message because
, but the remaining arguments get accumulated in y
regardless. They even get accumulated in a map in ((fn [ {:as m}] m)
:x 1 :y 2).
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life
in advance of running the computation for a given input, either at
runtime or at compile time.
Please see the README at the github repo for more details.
Enjoy!
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based
to
being very brittle). It's much simpler to have a bunch of functions
defined with defgraphfn that declare what they need to do their own
work and what they provide themselves, supply a few initial values,
and let run-graph figure out what has to be run before what.
--
Ben Wolfson
Human kind has
,
rather than forcing people to choose and end up with separate silos. I'd
love to discuss this (and hear your comments on our implementation) here or
off-list.
Agreed that this would be nice! I'll look through how you're doing it;
hopefully convergence will be easy.
--
Ben Wolfson
Human kind
this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented
this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented
this message because you are subscribed to the Google Groups
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind
a gigantic traceback ultimately complaining that the
symbol get can't be resolved.
Get doesn't have to resolve to clojure.core/get for autocomplete to
work: adding (def get 1) solves the problem.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet
that the
reader was involved at all---and especially that the problem *only*
cropped up when using executors. What's going on? Is it sending a
textual representation of the code to the executor, which then has to
read it back in?
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour
...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
we've been executing, but
detecting a case within an otherwise successful transaction---where
successful means we can read and write to all these refs with no
problem---where we actually want to start over and wait until some
values have changed.
--
Ben Wolfson
Human kind has used its intelligence
.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
-let* (with your
preferred semantics) can be defined in terms of existing constructs.
It doesn't need to be primitive the way fn* is.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social
expected it to work.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink entry]
--
--
You
On Tue, Mar 5, 2013 at 11:21 AM, BJG145 benmagicf...@gmail.com wrote:
Hmm, I'm Googling to find a good example.
Haskell forums...nope, rubbish.
The haskell reddit is very active.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic
silly to
argue that since he makes *routine* use of exceptions, his
implementation is flawed.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions
the monad laws occasionally: morph does for both
Either and Maybe, and algo.monads does for Maybe.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other
where neither is a constant.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink entry
Long/MAX_VALUE, so it
overflows. It is using longs.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse
On Mon, Mar 25, 2013 at 8:22 AM, Ben Wolfson wolf...@gmail.com wrote:
On Mon, Mar 25, 2013 at 8:05 AM, Jim foo.bar jimpil1...@gmail.com wrote:
Since Clojure prefers longs to ints and since I'm not using any type hints,
I don't understand why I get an integer overflow...
In the traceback I
---
You received this message because you are subscribed to the Google Groups
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure.
[Larousse
or so
primitive binding forms. (In that case the macroexpansion was only done for
ease of investigating the forms, and the un-expanded versions were what
were interpolated into the return value of the macro, but that's beside the
point; a macro *can* expand its arguments.)
--
Ben Wolfson
Human
more sensible.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure.
[Larousse, Drink entry]
--
--
You received
55 56
57 58 59 60 61 62 63
41
user (nth (first r) 20)
40
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure
, demonstrating the state,
writer, maybe, and error monads:
https://github.com/bwo/monads/wiki/An-expression-evaluator
Feedback welcome!
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
then it *is* broken, pretty much by definition,
Is it a matter of definition that if you try to follow a link and can't,
the fault lies with the link, and not with anything on your end?
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic
]
(Perverse?. (.b p) (.a p)))
#'user/f
user (= (-Perverse? 1 2) (-Perverse? 1 4))
true
user (= (f (-Perverse? 1 2)) (f (-Perverse? 1 4)))
false
user
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family
as a
regular function):
user= (defn -* [a cs] ((apply comp (reverse cs)) a))
#'user/-*
user= (-* 3 (make-adder 4) println)
7
nil
user= (-* [1 2 3] (partial map inc) set #(contains? % 4))
true
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic
.
To unsubscribe from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet
a single
value.
user= (defn app-p [p v] (p v))
#'user/app-p
user= (condp app-p 3
#_=even? (println even)
#_=odd? (println odd))
odd
nil
user=
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based
will you do? Hold on to your
receipts? Log mileage in your car? Compare being asked to explain what you
do today.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer
, what you did, and why I care.
My point was that most people will do the same (provide documents vs.
contextualize the actions).
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life
://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure.
[Larousse, Drink entry]
--
--
You
and refers to the
earlier binding, and the two expressions can't be evaluated in parallel.
On Sat, Apr 27, 2013 at 8:59 AM, Ben Wolfson wolf...@gmail.com wrote:
guv is broken if your let form introduces bindings that depend on
earlier bindings:
user= (plet [a 2 b a] b)
CompilerException
at Prismatic's graph library, it does what
you've described above in a slightly different way.
Link: https://github.com/Prismatic/plumbing
On Sun, Apr 28, 2013 at 1:04 AM, Ben Wolfson wolf...@gmail.com wrote:
It's not too hard, though, to write a plet form that first does some
analysis on the bindings
receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based
.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure.
[Larousse, Drink entry]
--
--
You received this message
On Mon, Apr 29, 2013 at 3:21 PM, noahlz nzuc...@gmail.com wrote:
I'm guessing vectors are safer than lists for passing to eval?
They're equally unsafe.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based
.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure.
[Larousse, Drink entry]
--
--
You received this message because
from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic
,
but it's really designed to be given forms.
The fact that booleans evaluate to themselves is irrelevant, and if it were
relevant, and wouldn't work on forms in general.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented
it, send an
email to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life
On Fri, Jun 7, 2013 at 12:30 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Fri, Jun 7, 2013 at 11:14 AM, Ben Wolfson wolf...@gmail.com wrote:
The macro (which IMO is terrible and shouldn't be emulated)
Why do you think the macro is terrible?
It's unnecessarily unhygienic
))
#'user/if-and*
user (if-and* false false?)
false
user (if-and* false nil?)
nil
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume
at 4:31 PM, Ben Wolfson wolf...@gmail.com wrote:
On Mon, Jun 10, 2013 at 1:20 PM, Steven Degutis sbdegu...@gmail.comwrote:
Sometimes I've wanted a function that takes a value and a bunch of
tests, and returns it if it passes every test, otherwise nil.
So I wrote if-and:
(if-and foo
On Wed, Aug 29, 2012 at 9:41 AM, Joop Kiefte iko...@gmail.com wrote:
An empty sequence is equal to nil.
How so?
user (some #(= % nil) ['() [] {}])
nil
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based
://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink entry
that would otherwise not be raised.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink entry]
--
You
be insane, but if pred is free of side-effects
(and computing the elements of the collection is also free of
side-effects) it would be correct.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
important isn't that
pred be free of side-effects sans phrase, but that the order pred is
called on the elements of call not matter. If pred is pure, then the
condition is met, but pred can have side-effects while still meeting
that condition.
--
Ben Wolfson
Human kind has used its intelligence
.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit
options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
user [(== 0 0.0) (== 0.0 0.0M) (== 0.0M 0)]
[true true false]
user [(== 0 0.0 0.0M) (== 0 0.0M 0.0) (== 0.0 0 0.0M) (== 0.0 0.0M 0)
(== 0.0M 0.0 0) (== 0.0M 0 0.0)]
[true false false false true false]
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may
by this. Transitivity means that for all x,
y, and z, (Fxy Fyz) = Fxz. But there are values of x, y, and z for
which that does not hold.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life
[_ 100] (t
Elapsed time: 2375.503756 msecs
nil
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse
of dispatching on length.
Sure, but that's a different reason for finding applyn silly than the
one you initially gave, which was that one could bypass calling apply
altogether and just write (+ 1 2 ...).
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may
(fn[](apply + '(1 2 3 4 5 6 7 8 9
10)))] (time(dotimes [_ 100] (t
Elapsed time: 832.403941 msecs
nil
clojure-test.core (let[t(fn[](applyn 10 + '(1 2 3 4 5 6 7 8 9
10)))] (time(dotimes [_ 100] (t
Elapsed time: 368.181313 msecs
nil
--
Ben Wolfson
Human kind has used its
be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may
)))
([a b c args] (cons a (cons b (cons c args
([a b c d more]
(cons a (cons b (cons c (cons d (apply+ list+ more)))
#'user/list+
user (list+ 1 2 3 4 5 [6 7] [8 9])
(1 2 3 4 5 [6 7] 8 9)
list+ is slower than list*, though.
--
Ben Wolfson
Human kind has used its intelligence to vary
before you start
printing any of the values.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink
options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used
,
that the chaining would go h(g(f(x)), but it's not as if that helps,
unless the types work out like:
b ~ m c
d ~ m e
in which case f = g = h :: a - j works fine (assuming j is a
monadic value). But as a general matter I don't see how monadic
composition solves the problem.
--
Ben Wolfson
Human kind has
this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer
Is there a list of the special forms that can introduce names (fn*,
let*, catch ...)? (keys clojure.lang.Compiler/specials) gives a list
of all the special forms, but not all of them introduce new bindings.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which
A message in early 2010 notes that there had been some discussion of
adding support for : to cond, but I suppose nothing came of
that---does anyone know why or if it's still something that might
happen?
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may
/
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink entry]
--
You received this message because you
) is not:
user (macroexpand-1 '(g 2 3))
(user/try* 2 3 (catch [java.lang.Exception java.lang.AssertionError]
e__45530__auto__ 6))
user (macroexpand-1 *1)
(try 2 3 (catch [java.lang.Exception java.lang.AssertionError]
e__45530__auto__ 6))
What's going on? Where'd my try* go?
--
Ben Wolfson
Human kind has
ah, ok. thanks.
On Tue, Nov 27, 2012 at 7:03 PM, Stephen Compall
stephen.comp...@gmail.com wrote:
On Tue, 2012-11-27 at 10:34 -0800, Ben Wolfson wrote:
What's going on? Where'd my try* go?
try* isn't general enough to accept some macroexpansions, because list?
is not the predicate you want
a procedure is called from tail position, so
it would seem to be used pervasively in languages that have general
TCO.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous
the
transformations syntactically with their tests.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink
pred args) (apply f args) (apply identity args
Jay's example would then be (- x ((conditionalize number? str))
(conditionalize string? count))).
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
) or false (as 'some?' would). ('keep', for instance,
unlike 'filter', discriminates between nil and false.)
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other
new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary
...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other
be
overkill.)
So:
Q1: is this a bug in walk?
Q2: is there a way to tell if something is an instance of a class
created with defrecord?
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life
a
function (that the user of the multimethod would `trampoline` through):
Also as long as you don't want to return a function from the multimethod, no?
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet
to tell what one's got on one's hands.
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink entry
is IPersistentStack. Why not implement it?
This seems very weird to me:
(list? (cons 1 '()))
false
Especially since:
(list? (empty (cons 1 '(
true
making list? true of cons cells would presumably also eliminate the
need for those awkward (apply list ...)s in, e.g., clojure.walk/walk.
--
Ben Wolfson
--
Ben Wolfson
Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure. [Larousse, Drink entry]
--
You received this message because you
1 - 100 of 222 matches
Mail list logo