Hi folks,
When I run 'mvn install' from the clojure\trunk directory (svn
1160), Maven creates:
16/12/2008 10:37 PM 519,267 clojure-lang-1.0-SNAPSHOT.jar
When I run 'ant' from the clojure\trunk directory (svn 1160), Ant
creates:
16/12/2008 10:37 PM 1,393,895 clojure.ja
Thanks Meikel and Dave! Much appreciated.
Kev
On Dec 17, 12:13 am, Dave Newton wrote:
> --- On Tue, 12/16/08, kkw wrote:
>
> > Since the Ant-built file is bigger, should I build
> > using Ant instead of Maven?
>
> It looks like the Ant build is compiling more; for
How about:
What's the recommended way of getting Clojure up and running?
- Download the latest snapshot with SVN
- Create the Clojure.jar file with Ant
- Test by starting up the REPL with "java -cp clojure.jar
clojure.lang.Repl"
Kev
On Dec 18, 9:24 am, lpetit wrote:
> Hello,
>
> > * Is there a
I'd vote for increased priority to reaching 1.0 also because of
workplace constraints.
Kev
On Jan 9, 4:23 am, MikeM wrote:
> > Do people want it now?
>
> I would vote for 1.0 ahead of streams if adding streams now will delay
> 1.0.
--~--~-~--~~~---~--~~
You recei
One use I've found for -> (though there are others I haven't come to
appreciate yet) is when I have something like:
(f1 (f2 (f3 (f4 x
which can be re-written as
(-> x f4 f3 f2 f1)
I find the latter expression easier to read.
Kev
On Dec 30 2008, 2:49 pm, wubbie wrote:
> Very criptic for ne
iggs"}
> >> :email "mark.h.tri...@gmail.com"}}]
> >> (-> me :person :name :first))
>
> >> => "Mark"
>
> >> On Jan 12, 1:04 pm, kkw wrote:
> >>> One use I've found for -> (though there are others
Hi folks,
I noticed that when I run 'ant' to build Clojure, in addition to
clojure.jar, 'ant' gives birth to clojure-slim.jar. The build.xml says
the clojure-slim.jar lacks compiled Clojure code. I don't know what
purpose clojure-slim.jar serves. I searched the
http://groups.google.com/group
Hi folks,
My question is similar to dokondr's question in
http://groups.google.com/group/clojure/browse_thread/thread/42c87abf2b2a0689/b92ca96a14bf52cd?lnk=gst&q=mobile#b92ca96a14bf52cd
titled "Running Clojure on Pocket PC":
Does anyone have experience and accumulated wisdom using Clojur
oads them.
>
> On Thu, Jan 29, 2009 at 4:56 PM, kkw wrote:
>
> > Hi folks,
>
> > I noticed that when I run 'ant' to build Clojure, in addition to
> > clojure.jar, 'ant' gives birth to clojure-slim.jar. The build.xml says
> > the clojure-sl
Hi sun,
I thought this question looked familiar. I found some answers here
also:
http://groups.google.com/group/clojure/browse_thread/thread/1f21663ea1ae9f58/
Kev
On Feb 2, 2:29 am, Adrian Cuthbertson
wrote:
> Sorry! That should have read;
> (-> m :one :b)
> 2
>
>
>
> On Sun, Feb 1, 2009
I've copied-and-pasted (not typed in) the following code into the
REPL:
(str
"INSERT ALL"
" INTO mdroverffprd.mc_system_user_region (system_user_id,
region_code) VALUES ('" 'a "', 'RS01')"
" INTO mdroverffprd.mc_system_user_region (system_user_id,
region_code) VALUES ('" 'a "', 'RS02')"
Hi Emeka,
Did you have success in this?
Kev
On Jan 29, 10:43 pm, Emeka wrote:
> luciofulci I'm interested in your instruction, however, are
> c:\user\apps\classes
> and c:\user\classes the same thing?
>
> Emeka
--~--~-~--~~~---~--~~
You received this message
Hi sun,
This sounds related to tree-flattening. If you search the google
group with keyword "flatten", I think you'll discover some indirectly
useful information.
Kev
On Feb 16, 3:55 am, wubbie wrote:
> So destructuring is essentially doing (first coll) for each parameter
> and the rest i
Hi Emeka,
Where Lucio says:
"after that I execute this command in the same folder (c:\user
\classes): "
I had success if I instead followed:
"after that I execute this command in the same folder (c:\user\apps
\classes): "
Adding the c:\user\apps\classes directory to your classpath
Hi folks,
Whilst we are talking about monads, allow me to direct all and
sundry to:
http://www.mefeedia.com/tags/brian_beckman
Brian Beckman gives a very beautiful description about monads. I
find these tutorials very well done. I commend them.
Kev
On Mar 7, 12:19 am, Konrad Hinsen w
Hi folks,
I have some code where I wanted to:
- take a list of stuff (which includes another list inside)
- use 'seq-utils/flatten' to flatten the list
- use 'interpose' to add comma-delimiting strings between the elements
- print out the results, thereby creating comma-delimited output
Thanks for the feedback everyone!
Kev
On Apr 1, 11:38 pm, Rayne wrote:
> comp seems more appropriate here.
>
> On Mar 31, 11:52 pm, kkw wrote:
>
> > Hi folks,
>
> > I have some code where I wanted to:
> > - take a list of stuff (which includes another
Hi Jim,
Thanks for writing the tutorial!
Kev
On Apr 16, 2:01 am, jim wrote:
> I've just posted a tutorial on using monads in Clojure at
>
> http://intensivesystems.net/tutorials/monads_101.html
>
> It's one big chunk of text since I haven't had time to break it up
> yet. It's also kind of
Hi Sigrid,
Was clojure-contrib compiled with a relevant "-Dclojure.jar="
option? For example,
ant -Dclojure.jar=/path/to/clojure.jar
For what it's worth, I startup a Clojure REPL with:
java -cp c:\dl\clojure\clojure.jar;c:\dl\clojure-contrib\clojure-
contrib.jar;. clojure.lang.Repl
Tom,
This is a really helpful service. Thank you very much! It's
already helped me find stuff in the clojure.contrib.sql package that I
didn't have the smarts to originally search.
Kev
On May 4, 4:30 pm, Tom Faulhaber wrote:
> By the way, source of the robot is available on GitHub, for tho
Bravo to Rich and all contributors!
Kev
On May 5, 2:04 am, tmountain wrote:
> Congrats! I'm loving Clojure more all the time. Thank you for making
> the Lisp I've been waiting for all these years.
>
> Travis
>
> On May 4, 8:58 am, Rich Hickey wrote:
>
> > After a sustained period of API stabil
Hello,
Here's what I've done in times past:
(ns process-xml-in-a-file
(:require [clojure.zip :as zip])
(:require [clojure.contrib.zip-filter.xml :as zfx])
(:require [clojure.xml :as xml]))
; creating list of all checkable instances
(def dev2-cfg-xml
(-> "c:/dl/tibsup/Prod_Stg_auto_shutd
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? I
I've used Clojure to partially re-implement Java-based tools we have
at our shop written to interface with TIBCO. Clojure has also been
used to write a tool to extract electricity+gas metering data from an
Oracle DB. In summary, I've used Clojure to write and partially re-
implement tools that I n
(my-map :my-key) has felt more natural to me, and I suspect it's
because it feels more OO to me (for better or worse). I hadn't
considered nil-map tolerance/robustness before, so I'd be quite happy
to change my mind on new work I write with maps.
Kev
On Jun 19, 10:13 am, "J. McConnell" wrote:
>
Hi folks,
I had some fortune with the sorted-by function:
1:11 user=> (sort-by (fn [e] (second e)) [[1 99] [3 4] [5 6] [7 8]])
([3 4] [5 6] [7 8] [1 99])
so I thought I'd have a go with sorted-map-by also:
1:13 user=> (doc sorted-map-by)
-
clojure.core/sorted-ma
Hi Steve,
I didn't know the difference between a keyfn and a comparator.
Thanks for pointing that out!
Kev
On Jun 22, 3:50 pm, "Stephen C. Gilardi" wrote:
> On Jun 22, 2009, at 1:23 AM, kkw wrote:
>
> > I had some fortune with the sorted-by function:
>
&
Hi folks,
Occasionally, I see "ANN:" in subject headers to posts here. I've
tried to figure out what it means, but have failed. Searches on google
haven't been too good either. What does "ANN:" mean?
Kev
--~--~-~--~~~---~--~~
You received this message because
Great - thankyou!
On Jun 26, 1:59 pm, Richard Newman wrote:
> > What does "ANN:" mean?
>
> "Announcement", I believe.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email
Hi folks,
Anyone get the following interesting messages?
1:19 com.kkw.ss=> (comment 1)
nil
1:20 com.kkw.ss=> (comment s1)
nil
1:21 com.kkw.ss=> (comment 1)
nil
1:22 com.kkw.ss=> (comment s)
nil
1:23 com.kkw.ss=> (comment s1)
nil
1:24 com.kkw.ss=> (comment 1s)
java.lang.NumberFormatException:
That makes really good sense. Thanks for the clear explanation!
Kev
On Jul 17, 1:56 pm, Richard Newman wrote:
> > 1:24 com.kkw.ss=> (comment 1s)
> > java.lang.NumberFormatException: Invalid number: 1s
> > java.lang.Exception: Unmatched delimiter: )
> > 1:25 com.kkw.ss=>
>
> > Kindly let me k
Hi Ram,
If you all you want is the latest .jar file, and don't feel the
need to compile, consider bypassing the compilation and grab the
latest successfully compiled .jar from build.clojure.org. This is what
I now do.
Kev
On Feb 17, 9:51 am, Ram wrote:
> I'm having an issue compiling clojur
Hi Viksit,
For production support, I also wanted to "tail -f" a file on a
Windows server with no "tail" facility (no one had installed the
Windows Resource Kit yet, and executing the install file myself
would've been prohibitive (it's a long story)). However, this Windows
server did have Java.
Hi Shantanu,
I found it by going to the "Document" menu, selecting the
"Language Mode" sub-list menu option, and selecting the "Clojure"
option.
Regards,
Kevin
On Mar 14, 12:49 am, Shantanu Kumar wrote:
> Do I need a plugin? I downloaded the stock 2.0.3-1 version of the
> editor and it doe
Hi Brian,
Thanks for craeting the videos. They've been the most helpful
monad tutorial I've ever followed. I'm looking forward to the next
video! Keep up the good work.
Kevin
On Mar 13, 11:20 am, Brian Marick wrote:
> I don't know if this is useful, but I've been doing a series of videos on
35 matches
Mail list logo