This problem came up on the mailing list recently:
http://groups.google.com/group/clojure/browse_thread/thread/5e0c078d0ad8b8bc#
You might want to compare your code to what was done here, but at a
glance the implementations are similar.
You provide relative speed comparisons (Such and such is
On Jun 5, 2009, at 3:27 PM, Phil Hagelberg wrote:
Stephen C. Gilardi squee...@mac.com writes:
(my-cool-database-operation the-database
(arg-exp-1 with operands)
literal-arg
angstroms)
There doesn't seem to be an easy way to distinguish these two types
of
initial operands (or the
Hi,
Am 05.06.2009 um 00:22 schrieb Meikel Brandmeyer:
sym-vals(apply hash-map (interleave syms
values))
Ah! I always forget about zipmap...
Clojure is just fun! :)
Sincerely
Meikel
smime.p7s
Description: S/MIME cryptographic signature
Dear Vimming Clojurians,
VimClojure v2.1.1 is out. This is only a bugfix release.
No new features added. It mostly fixes bugs in the
syntax highlighting.
http://www.vim.org/scripts/script.php?script_id=2501
Sincerely
Meikel
smime.p7s
Description: S/MIME cryptographic signature
On Jun 6, 11:44 am, Sean Devlin francoisdev...@gmail.com wrote:
This problem came up on the mailing list recently:
http://groups.google.com/group/clojure/browse_thread/thread/5e0c078d0...
You might want to compare your code to what was done here, but at a
glance the implementations are
Going beyond the language-specific Programming Clojure book, what
other books have best helped you make the (sometimes mind-bending)
transition from OOP thinking to FP thinking? My bookshelf is piled
high with OOP books like Design Patterns, Domain Driven Design,
Analysis Patterns, etc. I've
Meikel,
I would like to use vimclojure and I have even installed all the needed
applications, however I am still not able to use it. I tried to edit _vimrc
but was told that it is a readonly file(this happened when I used vim to
edit it). When I used other editors, it does not prompt readonly,
Hi,
Am 06.06.2009 um 13:24 schrieb Emeka:
I would like to use vimclojure and I have even installed all the
needed applications, however I am still not able to use it. I tried
to edit _vimrc but was told that it is a readonly file(this happened
when I used vim to edit it). When I used
The problem was that it was not as fast as I expected it should be
given that it was using no less than 100% of the CPU on my system.
(two 3GHz Xeon CPUs [1 core]; 3GB RAM; a beefy workstation). That
this was visible in the GUI shows how slow it appeared to me. Also,
it was using 700MB
Talk about bad timing - reading the Silly question from Programming
Clojure it looks like a book thread already got started there. Here
were some additional mentions:
Laurent PETIT: OOSC: Object Oriented Software Construction, but this
is OOP so I'm disinclined to include it for this specific
RSS is resident set size- as I recall from the days when I compiled
my own kernels, it's based on a lazily-maintained
not-guaranteed-to-be-accurate count of physical memory pages in use
by the process. On linux, this number may overstate memory use by 50%
or more for non-JVM processes. For JVM
I've checked in changes to clojure.contrib.except to allow the
functions it provides to produce exceptions that wrap other
exceptions: they now support causes.
I believe it's now fully general and will be convenient to use for all
of our exceptional needs.
The attached text file contains
Do you edit the correct _vimrc? I found only one file bearing that name.
Are you referring to other files?
Regards,
Emeka
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
I recommend The Little Schemer and if you want to go further, The
Seasoned Schemer.
On Jun 6, 7:12 am, Robert Campbell rrc...@gmail.com wrote:
Going beyond the language-specific Programming Clojure book, what
other books have best helped you make the (sometimes mind-bending)
transition from
As messy of a language it is, learning Ruby was the final step needed
to show me the philosophy and merits of FP.
-Patrick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
Hi,
Am 06.06.2009 um 17:05 schrieb Emeka:
Do you edit the correct _vimrc? I found only one file bearing that
name. Are you referring to other files?
Well there should be your personal _vimrc.
It should probably be:
C:\Documents and Settings\you\_vimrc.
Although this might be different for
C:\Users\rmicro\.viminfo
That's what I found.
Regards,
Emeka
--~--~-~--~~~---~--~~
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
On Thu, Jun 4, 2009 at 12:09 PM, Eric Thorsenethor...@enclojure.org wrote:
what kind of interest there might be in creating a Clojure user group
in the NY metro area to meet up in Manhattan once a month to discuss
all things Clojure.
I'd make an effort to attend monthly Clojure meetings in
Hi,
Am 06.06.2009 um 17:27 schrieb Emeka:
C:\Users\rmicro\.viminfo
That's what I found.
Then it should be C:\Users\rmicro\_vimrc, I guess.
Sincerely
Meikel
smime.p7s
Description: S/MIME cryptographic signature
Then it is pretty obvious that I have erred again.
C:\Program files\Vim\_vimrc That's where I found that file.
Regards,
Emeka
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
Hi,
Am 06.06.2009 um 17:47 schrieb Emeka:
Then it is pretty obvious that I have erred again.
C:\Program files\Vim\_vimrc That's where I found that file.
This is probably the global _vimrc installed by Vim.
You should first try a _vimrc in your home directory.
Just create it if it doesn't
Higher Order Perl. While I don't want to use Perl anymore, I do know it
very well, and it provided a good introduction to FP in a more familiar
language. YMMV.
Robert Campbell wrote:
Going beyond the language-specific Programming Clojure book, what
other books have best helped you make the
I read Norvig's PAIP. The concept of first defining a dsl and then
writing an interpreter/compiler for it is amazing. Even something as
simple as his sentence grammar shows the idea.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
This is probably the global _vimrc installed by Vim I think as much, vim
needs this file to run.
If you installed Vim as an administrator I always work as administrator. I
will create that file and now what and what am I going to add to it.
Regards,
Emeka
O
On Sat, Jun 6, 2009 at 4:03 PM,
Hello Stephen and fellow Clojurians,
as threatened before here a first stab at a small action and menu
builder suite. It is inspired by what Waterfront does. You basically
create a map describing the action or menu and let the builder functions
create them for you. Example:
(let [frame
On Jun 6, 2009, at 12:34 PM, Meikel Brandmeyer wrote:
as threatened before here a first stab at a small action and menu
builder suite. It is inspired by what Waterfront does. You basically
create a map describing the action or menu and let the builder
functions
create them for you.
Added:
Hi,
I'm trying to understand why this program throws an exception:
$ clojure -e (clojure-version)
1.0.0-
$ cat test1.clj
(ns rw.test (:import (java.io StringReader)))
(def x
(with-open [s (- (new StringReader abc)
(new
clojure.lang.LineNumberingPushbackReader))]
I recommend Purely Functional Data Structures by Chris Okasaki. If
you can get your hands on OCaml for Scientists it's pretty good too.
And of course The Little Lisper/Schemer. I haven't made it through my
copy of SICP or PAIP.
--
Daniel
On Jun 6, 2009, at 10:26 AM, kyle smith
Hi,
Am 06.06.2009 um 21:40 schrieb Rob Wolfe:
I'm trying to understand why this program throws an exception:
It doesn't work because
(- (new StringReader abc)
(new clojure.lang.LineNumberingPushbackReader))
expands to
(new (new StringReader abc) LineNumberingPushbackReader)
while
(-
Meikel Brandmeyer napisał(a):
Hi,
Am 06.06.2009 um 21:40 schrieb Rob Wolfe:
I'm trying to understand why this program throws an exception:
It doesn't work because
(- (new StringReader abc)
(new clojure.lang.LineNumberingPushbackReader))
expands to
(new (new StringReader abc)
Hello,
Just uploaded better version of parallel factorial...
Is is possible to push the performance further (short of implementing
parallel multiplication algorithm)?
Comments welcome.
http://groups.google.com/group/clojure/files/parallel-factorial-example-2.clj
Kind regards,
Vlad
Oops - the link above is broken, but the code is in the files section,
called:
parallel-factorial-example-2.clj
Vlad
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email
Going beyond the language-specific Programming Clojure book, what
other books have best helped you make the (sometimes mind-bending)
I have not yet read anything more mind-bending than this:
http://www.gp-field-guide.org.uk/
(A field guide to genetic programming)
It is free download - the
It may help to review the code and structure of open source Clojure
projects, part of the mind-bend feeling could be coming from
struggling to know where to begin when writing code and less from
unfamiliarity with the theory of FP.
I'd also recommend playing with Haskell and reviewing Real World
On Sat, Jun 6, 2009 at 10:42 AM, Stephen C. Gilardisquee...@mac.com wrote:
I've checked in changes to clojure.contrib.except to allow the functions it
provides to produce exceptions that wrap other exceptions: they now support
causes.
I believe it's now fully general and will be convenient
Hi, i'd like to write some AI in clojure.
Reading Russel Norvig's AI: A Modern Approach, which focuses heavily
on autonomous intelligence agents.
Has anyone worked with these or other AI in clojure? Any libraries/git
repos out there?
Can/should we use clojure agents to encapsulate separate
36 matches
Mail list logo