Hi Michael, hi Jason,
thanks for your help! I have it running now - but as I tried two
things at once, one of them being the svn update (or rather, a fresh
checkout), I cannot say if I really had the broken svn version.
I think my problem was that I used separate directories to update and
compil
Hi all,
I just thought I'd write to share a terrible (but maybe useful!) hack
for SLIME. I've written some code that sniffs around the classpath to
find libraries matching some regexp, then inserts the appropriate
`import' sexps into the current buffer. For example:
M-x clj-import [RET] Inde
On Apr 24, 4:27 pm, Stuart Sierra wrote:
> On Apr 24, 5:16 pm, e wrote:
>
> > But let me understand ... when you do a commit, you haven't really
> > done anything that "counts"? Loaded question, I know, but it seems like you
> > have to do a commit, and then do a "send" or something, to actua
A convenient packaging of the xg-model-gf library is available now at
http://explorersguild.googlecode.com/files/xg-model-gf.zip
xg-model-gf provides a simple record scheme ("model") and an
implementation of CLOS-flavored generic functions for those of us who
prefer that style of polymorphism. m
On Sat, Apr 25, 2009 at 1:59 PM, prhlava wrote:
>
>
> > Git even works relatively well on Windows (I've used it lightly and not
> encountered a bug yet).
>
> The last time I tried, it did not (few months back) compared to
> mercurial.
>
Which version did you try? msysgit works very well.
--~--~
Just to provide a review - I must say, I really wanted to like this
screencast, and failed, unfortunately. It tries to cover everything from
"what is functional programming?" (tracing through passing functional
arguments, and basic map/reduce stuff, for example) to the intricacies of
STM use and cl
Hi Vlad,
Are you aware you can compile Clojure code directly into Java class
files?
- James
On Apr 25, 7:10 pm, prhlava wrote:
> Hello,
>
> Currently, I do the following (the clojure application is called
> "isi"):
>
> 1. set-up a java netbeans project (called isi) with main class
> 2. add the
new operations available for heap:
http://code.google.com/p/jc-pheap/source/list
changeVal < any value inside the heap, not just the min. honor system.
if you didn't put a value in, don't lie and changes its value. runtime
varies from O(1) to O(logn). code has explanation. was ambitious an
Hello Pinocchio,
> So, I looked at it... it doesn't seem to be a UI framework as in a
> framework for creating UIs. Its more to do with an programming editor
> which helps write logically convolved code better (actually a great
> talk...).
I look at is as a "transactional change propagation" fr
A shorter version:
(defn char-in-range? [minimum maximum testee]
(<= (int minimum) (int testee) (int maximum)))
On Apr 25, 1:52 pm, samppi wrote:
> Wonderful; thank you!
>
> On Apr 25, 10:57 am, billh04 wrote:
>
> > (defn char-in-range? [minimum maximum testee]
> > (let [int-testee (int te
Raoul Duke wrote:
> http://alarmingdevelopment.org/?p=217
>
> seems like it would be an interesting fit with Clojure.
>
> sincerely.
>
>
So, I looked at it... it doesn't seem to be a UI framework as in a
framework for creating UIs. Its more to do with an programming editor
which helps write l
I've got a related question: how do you embed Clojure into an existing
application? If I'd like to provide a clojure console in an
application how do I do the following things:
1. Start a REPL - I guess that this can just be done with
clojure.main.main(String...)
2. Redirect STDIN/OUT/ERR so tha
Wonderful; thank you!
On Apr 25, 10:57 am, billh04 wrote:
> (defn char-in-range? [minimum maximum testee]
> (let [int-testee (int testee)]
> (and (>= int-testee (int minimum)) (<= int-testee (int maximum)
>
> On Apr 25, 12:47 pm, samppi wrote:
>
> > Let's say I want to test if a U
Hi,
Did you update to the newest versions of clojure and clojure-contrib?
I think the way source filenames are stored in metadata changed
recently, and "source" was temporarily broken by this change.
Cheers,
Jason
On Apr 24, 11:41 pm, Sigrid wrote:
> Hi,
>
> I'm just starting with clojure, and
Hello,
Currently, I do the following (the clojure application is called
"isi"):
1. set-up a java netbeans project (called isi) with main class
2. add the clojure.jar (and other libraries) to the project
3. in the main class:
package isi;
/**
* loads the clojure script
*/
public class Main {
> Git even works relatively well on Windows (I've used it lightly and not
> encountered a bug yet).
The last time I tried, it did not (few months back) compared to
mercurial.
Personally I prefer mercurial to git, but did not use either for too
advanced stuff yet...
Kind regards,
Vlad
--~--~
(defn char-in-range? [minimum maximum testee]
(let [int-testee (int testee)]
(and (>= int-testee (int minimum)) (<= int-testee (int maximum)
On Apr 25, 12:47 pm, samppi wrote:
> Let's say I want to test if a Unicode character is within a certain
> range, #x0-#x1F. What can I do?
>
On Sat, Apr 25, 2009 at 7:13 PM, Sigrid wrote:
>
> Hi Kevin,
>
> thanks for your answer! Unfortunately, it doesn't work yet.
>
>> Was clojure-contrib compiled with a relevant "-Dclojure.jar="
>> option? For example,
>> ant -Dclojure.jar=/path/to/clojure.jar
>
> As I didn't remember, I recompi
Let's say I want to test if a Unicode character is within a certain
range, #x0-#x1F. What can I do?
(defn char-in-range? [minimum maximum testee]
???)
(def x \3)
(char-in-range? \u \u001F x) ; false
--~--~-~--~~~---~--~~
You received this message because
Phil Hagelberg wrote:
> I'm proud to announce that the "Functional Programming with Clojure"
> PeepCode screencast has just been published:
Wow! This is awesome. I bought it right-away!
Thanks.
Regards,
BG
--
Baishampayan Ghose
--~--~-~--~~~---~--~~
You receive
Hi Kevin,
thanks for your answer! Unfortunately, it doesn't work yet.
> Was clojure-contrib compiled with a relevant "-Dclojure.jar="
> option? For example,
> ant -Dclojure.jar=/path/to/clojure.jar
As I didn't remember, I recompiled it now like this, and still it
doesn't work...
> For
On 24 Apr., 20:24, Sean Devlin wrote:
> There recently was a ton of traffic about SCM in the "Path to 1.0"
> thread. Google made the following announcement:
>
> http://google-code-updates.blogspot.com/2009/04/mercurial-support-for...
>
> Does this make changing the SCM tool to Hg a real possibil
It's worth considering how *nested* accessors would work in the
context of immutability.
The nested maps approach works really nicely, due in part to functions
like assoc-in:
; From Mark Volkmann's tutorial
(assoc-in person [:employer :address :city] "Clayton")
What would the above update look
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
24 matches
Mail list logo