On Jun 17, 10:24 am, Wrexsoul d2387...@bsnow.net wrote:
On Jun 17, 12:44 am, Daniel Lyons fus...@storytotell.org wrote:
(use 'clojure.contrib.seq-utils)
Don't have that library. Still hasn't been released yet, last I
checked.
I am not sure if a pre-built clojure-contrib.jar is
Antoni Batchelli tbatche...@gmail.com writes:
Hi Antoni,
For learning Git I found Git Magic (
http://www-cs-students.stanford.edu/~blynn/gitmagic/
) to be very helpful, and Git Internals (
https://peepcode.com/products/git-internals-pdf
) if you want to understand how it works
Konrad Hinsen konrad.hin...@laposte.net writes:
But for many of Clojure's plain functions, it is not clear what their
dispatch function should be if they were to be converted to
multimethods.
Indeed. It can be a non-trivial design exercise. But your
clojure.contrib.generic code shows that
Wrexsoul,
Your right, I was out of line. I'm sorry. I should go through the
effort to explain myself rather than resort to personal attacks.
Sean
On Jun 17, 1:25 am, Wrexsoul d2387...@bsnow.net wrote:
On Jun 17, 12:57 am, Sean Devlin francoisdev...@gmail.com wrote:
Daniel, don't feed the
There's prebuilt SNAPSHOT releases available in Howard's Tapestry repository
- been using them happily from my maven based clojure app for awhile.
Thou an official 1.0 stamped release in maven central (along with
clojure-lang) would be most welcome.
--
On Wed, Jun 17, 2009 at 6:05 PM, Parth
I only knew about map, apply, and reduce from studying haskell in uni.
I've not heard of 'reduce' referred to as 'accum', but then again when
I wanted to determine the number of elements in a seq, I kept
searching for 'length' and 'size' but didn't think of 'count', so it
can be a bit tricky eh?
Darmac,
I use Scite Just edited it in order to run Clojure Repl(help help from
this group). That's not great, it is ugly. I would like to use yours if it
is as simple as Scite editor and pretty easy to install.
Regards,
Emeka
--~--~-~--~~~---~--~~
You
On 17.06.2009, at 08:36, Chris Dean wrote:
Sure. It's easy to write one's own version of get et.al. What's hard
to do is to get packages that you didn't write to use that version of
get. You need everyone to use c.c.generic.collection or all the
different libraries will have trouble
Hi everyone,
I'm doing a short talk on declarative/logic programming, reasoning and
expert systems for the Albuquerque Lisp/Scheme group this Sunday. I
have to talk about Prolog and CLIPS but since the future is here I
hope to give some time to Clojure.
If you've done something cool with
2009/6/17 Rich Hickey richhic...@gmail.com:
Clojure and contrib repos are now on GitHub:
http://github.com/richhickey/clojure
http://github.com/richhickey/clojure-contrib
Issues and other development collaboration has moved to Assembla:
http://www.assembla.com/spaces/clojure
On Tue, Jun 16, 2009 at 8:17 PM, Antony Blakey antony.bla...@gmail.comwrote:
On 17/06/2009, at 10:37 AM, Mark Volkmann wrote:
I think you've got that backwards. A git push is how I would ask
the remote repo to accept my changes. A git pull says I want to
update my local repo with changes
On Wed, Jun 17, 2009 at 7:03 AM, Mark Volkmann r.mark.volkm...@gmail.comwrote:
On Tue, Jun 16, 2009 at 8:17 PM, Antony Blakey antony.bla...@gmail.comwrote:
We must be talking about a different way of using git. In my case I created
a local repo from the remote github repo using the following
Hi,
Am 17.06.2009 um 02:17 schrieb Rich Hickey:
http://github.com/richhickey/clojure
http://github.com/richhickey/clojure-contrib
For the mercurial users out there:
Both repos work with the latest hg-git
from http://hg-git.github.com! :)))
Sincerely
Meikel
smime.p7s
Description: S/MIME
Meikel,
I face a little challenge while using vbaxl.
I wanted to achieve the below
Set myRange = Worksheets(Sheet1).Range(A1:C10)
answer = Application.WorksheetFunction.Min(myRange)
I did ;
(def myRange (.. Dispatch (call ws Range A1:C10)(toDispatch)))
Which seems to work, but I was not able to
Hi,
I like this introductory tutorial on git :
http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
It doesn't show working with github, some tutorials are availables on
github site.
But it dit help me to get started.
Bye,
Stephane _/)
On Jun 17, 2:11 am, Tassilo Horn
On Jun 17, 9:16 am, Meikel Brandmeyer m...@kotka.de wrote:
For the mercurial users out there:
Both repos work with the latest hg-git
fromhttp://hg-git.github.com!:)))
Meikel, thanks for this! I am one of those reticent Windows users who
have given both git (with github) and mercurial a
On Jun 17, 2009, at 14:16, Meikel Brandmeyer wrote:
Am 17.06.2009 um 02:17 schrieb Rich Hickey:
http://github.com/richhickey/clojure
http://github.com/richhickey/clojure-contrib
For the mercurial users out there:
Both repos work with the latest hg-git
from http://hg-git.github.com! :)))
Sounds awesome! Will you be able to post any material after the
talk? You know, slides, videos, notes, etc?
Sean
On Jun 17, 5:35 am, Daniel Lyons fus...@storytotell.org wrote:
Hi everyone,
I'm doing a short talk on declarative/logic programming, reasoning and
expert systems for the
On Tue, Jun 16, 2009 at 7:17 PM, Rich Hickey richhic...@gmail.com wrote:
Clojure and contrib repos are now on GitHub:
http://github.com/richhickey/clojure
http://github.com/richhickey/clojure-contrib
Does this announcement have any impact on the Google Code Subversion
repositories? Will
On Jun 16, 11:34 am, Jules julesjac...@gmail.com wrote:
I still don't know what dependency injection means exactly. The
examples I've seen that are said to use dependency injection can be
solved by using first class functions. Are first class functions what
you want?
Dependecy injection is
Awesome. Good decision.
On Jun 17, 2:17 am, Rich Hickey richhic...@gmail.com wrote:
Clojure and contrib repos are now on GitHub:
http://github.com/richhickey/clojurehttp://github.com/richhickey/clojure-contrib
Issues and other development collaboration has moved to Assembla:
Hi,
Am 17.06.2009 um 15:26 schrieb Konrad Hinsen:
It didn't work for me this morning. I used hg-git to clone the
Clojure repository and then tried to build it. The build failed, and
further inspection showed that core.clj was a few hundred lines
shorter than the copy at github. I didn't pursue
On Wed, Jun 17, 2009 at 9:41 AM, CuppoJava patrickli_2...@hotmail.comwrote:
Finding the right function in the doc admittedly takes a little
practice. I've learned gradually, that Clojure pretty much has all its
bases covered though. You just need to find the function. And this
forum is
If you're looking for a git/github workflow I can't recommend the
following post enough:
http://blog.mhartl.com/2008/10/14/setting-up-your-git-repositories-for-open-source-projects-at-github/
I use something similar to (barely) contribute to compojure. There
isn't anything like his 'edge'
Very nice, thanks for sharing.
I tried the first version you posted on my rooted G1. It could
evaluate strings and numbers, but unfortunately when I tried to create
a function it didn't do anything. It just stopped, though the activity
was still responding (the menu worked, etc). I looked at
Sounds awesome! Will you be able to post any material after the
talk? You know, slides, videos, notes, etc?
Seconded -- I haven't *yet* done anything cool with Clojure and
Datalog... but I would like to :)
--~--~-~--~~~---~--~~
You received this message
Finding the right function in the doc admittedly takes a little
practice.
I often end up reading through /api to find what I want, but Clojure
Categorized might be a much faster way to do it:
http://java.ociweb.com/mark/clojure/ClojureCategorized.html
I don't know if it's kept up-to-date
With the relatively recent release of clojure 1.0.0, I decided to give
another try to using SWIG-generated native libraries with it.
It still doesn't work on my box: I get an UnsatisfiedLinkError
exception when trying to call a native function. Still, calling the
function from plain Java code
On Jun 17, 2009, at 7:39 AM, Sean Devlin wrote:
Sounds awesome! Will you be able to post any material after the
talk? You know, slides, videos, notes, etc?
Sure thing. I'll post my slides and whatever code I wind up writing. I
don't think anyone will be taping it though (which is
Hi Michel,
Thanks for working on this! I'm going away this week, but I'll be
sure to look at this more closely when I get back. (I wrote the first
c.c.trace, it may have been modified by others since.)
-Stuart Sierra
On Jun 16, 7:13 pm, Michel Salim michel.syl...@gmail.com wrote:
I've often
Andrew, you have just said what needs to be said about DI that for
some reason it seems like nobody else on earth ever says -- no, they
have to write some giant screed that includes references to Hollywood.
No wonder technology sucks, when the people writing the tutorials
can't even explain
Odd, it does work on my rooted G1, (an Android Developer Phone.)
Remco, does it work for you, either on the emulator or the G1?
What you are seeing indicates that run-time compilation isn't working
at all for you. (Self-evalution of numbers and strings from the repl
don't require compilation,
Odd, it does work on my rooted G1, (an Android Developer Phone.)
Remco, does it work for you, either on the emulator or the G1?
What you are seeing indicates that run-time compilation isn't working
at all for you. (Self-evalution of numbers and strings from the repl
don't require compilation,
Odd, it does work on my rooted G1, (an Android Developer Phone.)
Remco, does it work for you, either on the emulator or the G1?
What you are seeing indicates that run-time compilation isn't working
at all for you. (Self-evalution of numbers and strings from the repl
don't require compilation,
On Jun 17, 3:10 am, Mark Derricutt m...@talios.com wrote:
There's prebuilt SNAPSHOT releases available in Howard's Tapestry repository
- been using them happily from my maven based clojure app for awhile.
Thou an official 1.0 stamped release in maven central (along with
clojure-lang) would be
On Jun 17, 2:05 am, Parth parth.malwan...@gmail.com wrote:
On Jun 17, 10:24 am, Wrexsoul d2387...@bsnow.net wrote:
On Jun 17, 12:44 am, Daniel Lyons fus...@storytotell.org wrote:
(use 'clojure.contrib.seq-utils)
Don't have that library. Still hasn't been released yet, last I
checked.
On Jun 17, 3:20 am, kkw kevin.k@gmail.com wrote:
I only knew about map, apply, and reduce from studying haskell in uni.
I've not heard of 'reduce' referred to as 'accum', but then again when
I wanted to determine the number of elements in a seq, I kept
searching for 'length' and 'size'
On Jun 17, 10:51 am, Mark Volkmann r.mark.volkm...@gmail.com wrote:
On Wed, Jun 17, 2009 at 9:41 AM, CuppoJava patrickli_2...@hotmail.comwrote:
Finding the right function in the doc admittedly takes a little
practice. I've learned gradually, that Clojure pretty much has all its
bases
On Wed, Jun 17, 2009 at 12:51 PM, Wrexsoul d2387...@bsnow.net wrote:
Even though clojure.contrib hasn't been released as 1.0 or anything
official-sounding, I reckon it still beats the heck out of me
reinventing the wheel, especially with the calibre of folks who've
contributed to
would it be possible for routines to check to see if they are not
using multimethod-ness, and in that case be performance optimized, yet
have the syntax for them all be somehow less different?
There is certainly a case for that, but (correct me if I'm wrong), but
one of the underlying
On Wed, 17 Jun 2009 10:51:48 -0700 (PDT),
Wrexsoul d2387...@bsnow.net wrote:
On Jun 17, 3:20 am, kkw kevin.k@gmail.com wrote:
I only knew about map, apply, and reduce from studying haskell in uni.
I've not heard of 'reduce' referred to as 'accum', but then again when
I wanted to determine
Currently Clojure adds source and line information in the cause string
to exceptions thrown when compiling. This makes it difficult for
slime to highlight this errors as it actually has to parse the cause
message to get the source and file. This regex parsing fails in my
system (I have fixed the
On Wed, Jun 17, 2009 at 2:55 PM, vseguip vseg...@gmail.com wrote:
or is there a preferred way to communicate patches?
This is new:
http://clojure.org/patches
- J.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
On Jun 17, 1:22 am, Wrexsoul d2387...@bsnow.net wrote:
On Jun 17, 12:44 am, Parth parth.malwan...@gmail.com wrote:
On Jun 17, 9:34 am, Wrexsoul d2387...@bsnow.net wrote:
I'm shocked that this is missing from clojure.core:
(defn accum [f init coll]
(loop [x init c coll]
I'll second this. One large source of confusion when first switching to
git is the seeming obtuseness of the terminology and concepts. The
model itself is actually quite simple and everything becomes easier once
you get the basic concepts inside git (I think of it as repo = directed
graph of
Yikes! I thought I might learn some interesting things by following
clojuredev on Twitter, but the Ticket created ... messages are
overwhelming.
--
R. Mark Volkmann
Object Computing, Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
There's a one-time import of issues from Google Code going on right
now. I imagine the issues volume will slow down quite a bit when
that's done. Hang tight, I'm looking for feedback on what should be in
the Twitter stream.
Rich
On Wed, Jun 17, 2009 at 4:46 PM, Mark
Yikes! I thought I might learn some interesting things by following
clojuredev on Twitter, but the Ticket created ... messages are
overwhelming.
Heh, I've got those plus maybe a hundred ticket emails trickling in
from Assembla. Seems it's emailing me the entire ticket history of the
will definitely check it out. Thanks.
On Tue, Jun 16, 2009 at 8:20 PM, Darmac dario...@gmail.com wrote:
Hi, I have been experimenting with Clojure last two months and in my
learning process I used several applications.
So, I have made a package and want it to share it with everybody that
On Jun 17, 2:25 pm, Cosmin Stejerean cstejer...@gmail.com wrote:
On Wed, Jun 17, 2009 at 12:51 PM, Wrexsoul d2387...@bsnow.net wrote:
Even though clojure.contrib hasn't been released as 1.0 or anything
official-sounding, I reckon it still beats the heck out of me
reinventing the wheel,
On Jun 17, 2:47 pm, Kyle Schaffrick k...@raidi.us wrote:
As a friendly suggestion, I'd like to offer that perhaps the derision is
caused not by the fact that you had the initiative to implement it
yourself, but rather by such phrasing as:
I'm shocked that [reduce/accum/foldr] is missing
On Jun 17, 3:52 pm, Daniel Lyons fus...@storytotell.org wrote:
On Jun 17, 2009, at 1:43 PM, Rich Hickey wrote:
Please refrain from communicating this way on this group. If a post
annoys you please ignore it. It is much more important that we
maintain civility and respectfulness here.
My
On Mon, Jun 15, 2009 at 9:13 AM, Parthparth.malwan...@gmail.com wrote:
On Jun 15, 7:08 am, James Koppel darmanith...@gmail.com wrote:
I am trying to write a function to simplify working with GridBagConstraints
-- that is, instead of writing
(let [c (GridBagConstraints.)]
(set!
On Jun 17, 4:00 pm, Rich Hickey richhic...@gmail.com wrote:
On Jun 17, 1:22 am, Wrexsoul d2387...@bsnow.net wrote:
The docs definitely have problems if this can be missed despite a very
thorough search. The only more-thorough search would have been to
actually read the docs in their
On Jun 17, 5:45 pm, Wrexsoul d2387...@bsnow.net wrote:
On Jun 17, 2:47 pm, Kyle Schaffrick k...@raidi.us wrote:
As a friendly suggestion, I'd like to offer that perhaps the derision is
caused not by the fact that you had the initiative to implement it
yourself, but rather by such
Chas Emerick and Jarkko Oranen have copied the Google Code issues into
Assembla.
Thanks guys!
Rich
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Congrats on the move to github - I'm curious however, why the use of
Assembla for bugtracking/wiki as opposed to github's own flavour?
Mark
--
On Thu, Jun 18, 2009 at 10:11 AM, Rich Hickey richhic...@gmail.com wrote:
Chas Emerick and Jarkko Oranen have copied the Google Code issues into
Wrexsoul, please mate, these are good guys. Remember the beauty and
tradition of the language you're learning. It's a lisp and gives you
the power to effortlessly create almost any abstraction you can
imagine. Not being convinced of the beauty of this, open you mind a
bit and humble yourself some
Thanks! Seems I forgot java.lang.reflect exists when I wrote that.
On Wed, Jun 17, 2009 at 4:47 PM, Michael Reid kid.me...@gmail.com wrote:
On Mon, Jun 15, 2009 at 9:13 AM, Parthparth.malwan...@gmail.com wrote:
On Jun 15, 7:08 am, James Koppel darmanith...@gmail.com wrote:
I am
Chas Emerick and Jarkko Oranen have copied the Google Code issues into
Assembla.
I notice the contrib issues have not yet been moved over.
Will anything screw up if I create issues in Assembla before the move
has occurred? In other words, should I wait?
Say I've got this map of keys to integer values:
(def m {:one 0 :two 0 :three 0})
I want to write a function inc-values-in-map that takes such a map,
a collection of keys and will increment those keys' values in the map.
In other words, calling
(inc-values-in-map m [:one :three])
should
Your version is already succinct, is there something you particularly
don't like about it?
I would probabbly write it like this:
(defn inc-values-in-map
[map keys]
(reduce #(assoc %1 %2 (inc (%1 %2 0))) map keys))
Because it caters better with (inc-values-in-map m
[:one :three :one :four])
62 matches
Mail list logo