Hi,
On Jun 14, 8:55 am, rob levy wrote:
> (ns ...
> ...
> (:gen-class
> :extends javax.swing.JApplet
> ??? :implements java.awt.event.KeyListener))
:implements [java.awt.event.KeyListener]
Note: vector.
> (defn -init [#^JApplet applet]
> ??? addKeyListener )
You probably w
Hello,
I have a some comments (on comments and more :))
First this
(comment . )
There are diffrent kind ofs comments. If you just want to note
something you can do ; but mabey you want to have a example how to use
something in your Code then use (comment ).
With "defn" you creat a new f
On Mon, Jun 14, 2010 at 07:16, B Smith-Mannschott wrote:
> On Sun, Jun 13, 2010 at 23:26, Phil Hagelberg wrote:
>> There are some bugs in package.el that I have fixed in my personal fork but
>> have not yet made it upstream yet. Try clearing out .emacs.d/elpa and trying
>> again with the version
OK. Thanks for the help to both of you.
Regards,
jf
On 13 Jun, 21:27, Meikel Brandmeyer wrote:
> Hi,
>
> Am 13.06.2010 um 19:50 schrieb Heinz N. Gies:
>
> > comment just is a function that says 'don't evaluate the stuff in here, it
> > still needs to be correct clojure code you can either use:
I'm attempting to write a simple histogram function:
(defn create-histogram [f]
(let
[words (read-lines f)
histo {}]
(doall
(map
(fn [w] (assoc histo w (+1 (get histo w 0
words))
histo))
(create-histogram "./testwords")
The input, 'f', is expected
Thanks. Now it's work fine with array of arguments.
On Jun 14, 12:34 am, Meikel Brandmeyer wrote:
> Hi,
>
> Am 12.06.2010 um 06:08 schrieb zahardzhan:
>
> > When i eval code from Google App Engine SDK clojure throws very
> > strange class cast exception. I put this code into Java class, then
> >
On 14 Jun 2010, at 01:14, Todd wrote:
> I'm attempting to write a simple histogram function:
>
>
> (defn create-histogram [f]
> (let
>[words (read-lines f)
> histo {}]
>(doall
> (map
>(fn [w] (assoc histo w (+1 (get histo w 0
>words))
>histo))
>
> (crea
On 14 Jun 2010, at 12:37, Steve Purcell wrote:
> On 14 Jun 2010, at 01:14, Todd wrote:
>
>> I'm attempting to write a simple histogram function:
>>
>>
>> (defn create-histogram [f]
>> (let
>> [words (read-lines f)
>>histo {}]
>> (doall
>> (map
>> (fn [w] (assoc histo w (+1 (ge
Hi Chas,
I'm interested in being able to consult the detail of the answers (not
just the summary view), 'cause I guess there could be interesting
stuff in the "free form" parts of it (and the summary page just
presents a few of these answers).
2010/6/9 Chas Emerick :
> Following the results from
On 14/06/2010, at 9:25 PM, Laurent PETIT wrote:
> Hi Chas,
>
> I'm interested in being able to consult the detail of the answers (not
> just the summary view), 'cause I guess there could be interesting
> stuff in the "free form" parts of it (and the summary page just
> presents a few of these an
Okay, I was doing some quick experiments with conj today, and I
stumbled across the following behavior. The first step works great.
user=> (conj {} [:a 1])
{:a 1}
Then I hit some different casting errors:
user=> (conj {} (seq [:a 1]))
#
user=> (conj {} '(:a 1))
#
This behavior becomes a pain w
Hello group.
I have been working on a relational mapping library for Clojure named
Carte.
http://github.com/brentonashworth/carte
The current version is what I would consider to be a working prototype
and I would love to get feedback from the community before I do much
more work on this. The pro
> I'm a clojure newbie trying to understand when to use atoms versus refs.
> In clojure-http.resourcefully, if you use the with-cookies macro stores the
> cookies in a thread local ref. Why a ref and not an atom? My impression is
> that refs are for when you need to coordinate changes to more tha
This may be of interest to some of you. Recently Akamai has purchased the
mobile services company Velocitude and is seeking software engineers in the
Cambridge MA area with experience with functional programming.
I don't have a direct link to the job requirements description, but if you go
to
Dear fellow Clojurians,
I just released ClojureCheck 2.0 into the wild. It is a clojure.test extension
that allows to generate input data of a desired structure to test code with
random input. It is similar to fact[1] or Haskell's QuickCheck[2]. I wrote a
short introductory blog post with a exa
Useful, but not that sort of thing I'd ever think to look for unless I
had read about it.
Is there a wiki page somewhere that lists all this little libraries
with a one line description?
Would be great to just read a list of ideas and check a few out that
hadn't thought about before.
On Jun 14,
On Sun, Jun 13, 2010 at 8:22 AM, Rob Lachlan wrote:
> Probably, but I'm at a loss to figure out exactly what it might be. I
> cleaned emacs off, along with the .emacs.d directory, reinstalled, and
> the problem reappeared. I'm not touching it right now since, as I
> mentioned, I managed too boots
On Fri, Jun 11, 2010 at 8:45 AM, Steve Molitor wrote:
> I'm a clojure newbie trying to understand when to use atoms versus refs.
> In clojure-http.resourcefully, if you use the with-cookies macro stores the
> cookies in a thread local ref. Why a ref and not an atom? My impression is
> that refs
On Jun 14, 11:06 am, Sean Devlin wrote:
> ;Bad
> user=> (into {} (partition 2 [:a 1 :b 2 :c 3 :d 4]))
This can, of course, be
(into {} (map vec (partition 2 [:a 1 :b 2 :c 3 :d 4])))
I think the requirement is that the argument to APersistentMap.conj
should implement Associative, which vectors d
Meikel,
Thank you! This gives me some ideas I'm going try. I read your blog posts
too, great stuff.
The new book by Vanderhart & Sierra serves as good documentation of proxy as
well.
I have not yet come across a good "Java for Clojure Programmers" guide that
really explores all the hairy probl
Hey all,
Pushed out a new release of the maven plugin earlier in the week
- clojure-maven-plugin 1.3.3 changes:
* Changes to clojure:swank
* Now generates a temporary .clj file to execute when running swank.
* Now uses test dependencies rather than compile dependencies
* Changes to na
21 matches
Mail list logo