Regarding Programming Clojure:
I think that placing the burden of "book vs actual" incompatibility
upon Rich is misplaced. If anything, pressure from the Clojure
community should be placed on the Pragmatic Programmers to allow
Stuart to "do the right thing" regarding when the book is released,
vi
On Feb 16, 12:06 pm, Jeffrey Straszheim
wrote:
> You're right, of course, but in life compromises must happen. If Rich
> proceeds *with no regard* for Pragmatic's needs, they have a recourse which
> is simply no Clojure book. Or a Clojure book that has broken examples.
>
Agreed. I'm afraid my
On Feb 17, 10:20 am, Raffael Cavallaro
wrote:
> I am very interested in both of these subsystems and would love to see
> you package them as clojure.contrib libraries. Hopefully others feel
> the same and we'll see an announcement for them here soon.
+1
--~--~-~--~~~
On Feb 19, 8:18 pm, Jeffrey Chu wrote:
> user=> (eval (lazy-identity '(apply + '(1 2 3
> java.lang.ExceptionInInitializerError (NO_SOURCE_FILE:0)
~/java/clojure $ svn info
Path: .
URL: http://clojure.googlecode.com/svn/trunk
Repository Root: http://clojure.googlecode.com/svn
Repository UUID:
On Feb 23, 2:59 pm, Chouser wrote:
> On Mon, Feb 23, 2009 at 2:33 PM, Stephen C. Gilardi wrote:
> > How about this as an alternative in the same spirit as your proposal:
>
> > - change the name of :require to :use -- :use with no options changes
> > from an implicit "refer all" to an impl
On Mar 24, 7:46 am, Mark Volkmann wrote:
> +1 for running all the code under src/jvm through some code formatter
> that uses something at least similar to the Sun Java conventions.
>
> On Mon, Mar 23, 2009 at 11:59 PM, BerlinBrown wrote:
>
> > I was curious about how some of the clojure code wor
On Apr 3, 3:29 am, Eric Tschetter wrote:
> That is, "map" is more geared towards type "conversion" of the
> elements in a collection, but it is only converting the elements in
> the collection, not the collection itself.
>
> (some ellided text here...)
>
> Reduce (also known as fold left) consume
On Jul 27, 8:25 pm, John Newman wrote:
> I'm new to Clojure so bare with me,
Sorry, can't resist... you must be seeking the naked truth. :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to
On Jan 21, 8:37 pm, Sean Devlin wrote:
> Clojure stresses immutability, and dependencies should be no
> different. I'd say it's bad form to force a dependency on an
> unreleased version of Clojure, because it's a moving target. Granted,
BTW, Clojure also stresses *controlled mutability*. I'd
Works for me.
user> [*clojure-version* (meta (second '(a #^b c)))]
[{:interim true, :major 1, :minor 2, :incremental 0, :qualifier
"master"} {:tag b}]
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@google
Can you somehow use ->> ?
user> (->> #{1 2 3 4} (clojure.set/select even?))
#{2 4}
Walt
--
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 -
On Feb 3, 6:41 pm, Tayssir John Gabbour
wrote:
> ;; Works, but is ugly.
> (let [xset #{{:a 1, :b 1, :c 1}
> {:a 2, :b 2, :c 2}
> {:a 3, :b 3, :c 3}}]
> (project (select #(= (:a %) 1) xset)
> [:b :c]))
>
> So what I currently do is this:
>
> ;; Works, with
Well, I think you've exposed an inconsistency in the signature of
clojure.set/select vis-a-vis the "collection first, sequence last"
principles here:
http://groups.google.com/group/clojure/msg/a8866d34b601ff43
It seems that the collection function clojure.set/select is patterned
after
the sequenc
> Effective communication tip: Please preserve links in responses, so that when
> somebody is trying to track down issues they don't have to work back through
> the thread to find links.
>
Effective communication tip #2: Please don't top post, so that when
somebody is trying to track down issues
An old tradition for emacs users is to publicize the contents of
their .emacs file. (For non-emacs folks, code in .emacs is run as
emacs itself starts up allowing emacs to run tailored to the
preferences of the user.)
As stated in http://clojure.org/getting_started if user.clj is found
on the cla
On Nov 20, 10:21 am, "Mark Volkmann" <[EMAIL PROTECTED]>
wrote:
> On Thu, Nov 20, 2008 at 12:00 AM, notallama <[EMAIL PROTECTED]> wrote:
>
> > (keyTyped [#^KeyEvent e] nil)
>
> I'm not familiar with the syntax above. What does the "#^" part do?
>
> --
> R. Mark Volkmann
> Ob
err, bad paste. :-( Go with Cosmin Stejerean's reply.
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, se
On Nov 21, 12:03 am, samppi <[EMAIL PROTECTED]> wrote:
> I want to mess with sequences of two-sized vectors,
Maybe destructuring will do:
user> (dorun (map (fn [[k v]] (println "Key " k "Value " v)) [ [:a 3]
[:b 2] [:a 1] [:c 0]]))
=>
Key :a Value 3
Key :b Value 2
Key :a Value 1
Key :c Val
On Nov 23, 4:03 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Am 23.11.2008 um 02:29 schrieb James Reeves:
>
> >> (defn make-person [name age]
> >> (assoc (struct person name age person) :type person))
>
> > Maybe you could roll this into a macro:
>
> > (defmacro struct*
> > [type
19 matches
Mail list logo