Can you please share your project.clj when you ask a Q like this?
Thanks, FrankS.
On May 5, 2012, at 5:01 PM, Rostislav Svoboda wrote:
> I put
> :dev-dependencies [[clj-ns-browser "1.2.0"]]
>
> to my project.clj and did:
>
> $ lein deps
> Copying 46 files to /home/bost/dev/webcli/lib
> [WARN
If you're also planning to try Emacs:
http://sourceforge.net/apps/wordpress/codesounding/2012/04/14/installing-and-configuring-emacs-24-for-clojure-updated/
Key bindings (under "SLIME commands"):
https://github.com/technomancy/swank-clojure
On Wed, Apr 25, 2012 at 4:37 PM, omer wrote:
> [...] i
Hi Frank,
I cleaned everything and created a new project from scratch. It still
does not work but I get another error:
$ rm -rf ~/.lein/
$ rm -rf ~/.m2/
$ lein new clj-browser-test
$ cd clj-browser-test/
# here I added :dev-dependencies [[clj-ns-browser "1.2.0"]] to the project.clj
$ cat project
The Kiln is an evaluation strategy for insanely complex functions. It was
designed based on two things: my experience with managing several large,
complex, ever-changing web applications in Clojure, and my experience in
dataflow approaches to modelling.
I have released version 1.0.0 on Clojar
Hi,
I agree- I think Clojure would be very well suited to solving these
problems. I'd used Esper a little in the past so started doing some
digging around what would be involved in replicating it. In the end, I
started working on a little lib to make working with Esper a bit
easier (http://github.
This seems like a really silly question, but if I have a string like
"abc\000def", how do I print it in such a way that it shows "abc\000def"?
I've tried playing around with prn and *print-readably*, but that doesn't
seem to do what I want.
Thanks!
- DAemon
--
You received this message because
Great patch to allow access to this functionality. However, to my eye it
looks kinda messy to do something so 'normal'. How difficult would it be to
implement some syntactic sugar to "do the right thing" (add the appropriate
metadata and massage the type of the final arg):
(ns foo
(:
Anyone know of a Clojure library to parse SQL statements? If not, would it
be sane to build one using parsec?
--
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 membe
Hi all,
I am excited to announce that my GSoC proposal to build an Overtone
light weight ide was accepted and I will be spending the summer hacking on
the Overtone sketchpad application! I am extremely grateful to the
Clojure/dev team for the opportunity and psyched to hopefully create
I've written a URI library for Clojure, whose functions work on a
custom Uri type, java.net.URI, java.net.URL, and java.lang.String.
The source and some documentation (in the README) can be found at
https://github.com/wtetzner/exploding-fish.
Example usage:
user> (scheme "http://www.example.com/
Please excuse my tardy reply, I have been moving and with out internet for
a bit. Like the other accepted students I am extremely grateful to Google
Summer of Code but most of all to the Clojure/dev team and David. It is
very humbling and exciting to be a part of the first Clojure GSoC class and
Hi everyone,
I'm new to clojure and I have been working through Clojure in Action as
well as Chas Emerick's webcast. I created my environment in Eclipse and
CCW, but I am having trouble using "use" to get the json library in my
program namespace.
I have the leiningen project.clj use the [org.d
This code:
i use dom4j version 1.6.1
clojure version 1.3
when i write below code:
(DocumentHelper/createDocument "accountInfo")
cause this error:
ClassCastException java.lang.String cannot be cast to org.dom4j.Element
> user/eval180 (NO_SOURCE_FILE:34)
but if i call this:
>
> (Documen
can any one explain to me please
"If people don't have the sensibilities to desire to program to
abstractions and to be wary of marrying implementation details, then
they are never going to be good programmers. "
четверг, 3 мая 2012 г., 3:35:04 UTC+3 пользователь Takahiro Hozumi написал:
>
>
I've written a URI library for Clojure, whose functions work on a
custom Uri type, java.net.URI, java.net.URL, and java.lang.String.
It's intended to make working with URIs less painful. It makes it easy
to get at the pieces of a URI, as well as doing functional updates. In
particular, it makes it
But why "Exploding Fish", Walter?
Why? Why?
Poor fish.
--
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 members are moderated - please be patient with your
first
Can you give a better example of insanely complex functions?
I actually think that FP is ideal at modeling, representing, and
managing data-flow, stream-based, or request/response data.
Kiln seems to encourage a sort of imperative style to these
operations, where associative data (like hashmaps) w
Sounds like two possibilities:
* you may need to run lein deps to pull in the dependencies? (check
the project's lib folder)
* you may need to restart your REPL in CCW so it loads the newly
downloaded libraries?
If you're running into CCW-specific issues, you might also try the
http://groups.goog
I detail what I mean about "insanely complex" here:
http://github.com/straszheimjeffrey/The-Kiln/wiki/Why
And I would reject any description of the Kiln as "imperative", as such.
It does allow for side effects, but that is a matter of design and taste.
You could use it without side effects.
Ult
Tried both:
"java -javaagent:... -jar clojure.jar" and "java -javaagent:... -
cp ... clojure.main -r"
Both seem to work fine. What does "java -version" print?
On May 6, 2:17 am, Kurt Harriger wrote:
> I'm attempting to start a swank-clojure session within a grails
> application. This part
On Sunday, May 6, 2012 5:08:51 PM UTC-6, Anton Arhipov wrote:
>
> Tried both:
>
> "java -javaagent:... -jar clojure.jar" and "java -javaagent:... -
> cp ... clojure.main -r"
>
> Both seem to work fine. What does "java -version" print?
>
> java version "1.6.0_31"
>
> Java(TM) SE Runtime E
yup, totally same.
please send /Users/kurtharriger/var/jrebel.log to
support(at)zeroturnaround.com
On Monday, May 7, 2012 2:16:05 AM UTC+3, Kurt Harriger wrote:
>
>
>
> On Sunday, May 6, 2012 5:08:51 PM UTC-6, Anton Arhipov wrote:
>>
>> Tried both:
>>
>> "java -javaagent:... -jar clojure.jar"
Done. Thanks.
--
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 members are moderated - please be patient with your
first post.
To unsubscribe from this group, send
I've seen hinted (and I'm pretty sure I've seen examples, but I can't
remember where) that Datomic can incorporate data from regular Clojure
collections. Is there some doc for this or an example?
Thanks in advance
--
You received this message because you are subscribed to the Google
Groups
Perhaps a reference to PHP's explode function which is the java equivalent
of String.split?
http://php.net/manual/en/function.explode.php
And then URI is the fish.
Or it could be a reference to an unwritten sequel to Hitchhiker's Guide To
The Galaxy where the Dolphins blew up Earth instead of the
Thanks for the tips and the welcome. I have been wanting to learn clojure
for over a year, but teaching has been keeping me busy! Summer is here and
it's time to learn.
It appears that restarting the repl fixed that issue. I then tested the
same code in a terminal repl and the CCW repl and I ge
Hello Clojurians,
I've updated guzheng only print out the branches that were not
executed whose parent branches were executed. This means that if you
previously saw lots of output due to many cond and if statements
inside of an untested fn, you'll only be informed that the fn was
never executed (un
On Sun, May 6, 2012 at 8:36 AM, 周尧 wrote:
> why call DocumentHelper.createDocument(string name) error?
>
>
According to http://dom4j.sourceforge.net/dom4j-1.6.1/apidocs/, there is no
such overload.
I have no idea what you're wanting to do, but maybe:
(DocumentHelper/createDocument
(DocumentHel
On Sun, May 6, 2012 at 4:01 AM, Patrick Martin wrote:
> Hi everyone,
>
> I'm new to clojure and I have been working through Clojure in Action as well
> as Chas Emerick's webcast. I created my environment in Eclipse and CCW, but
> I am having trouble using "use" to get the json library in my progra
… but dolphins are no fish…
On May 6, 2012, at 5:25 PM, Sean Neilan wrote:
> Perhaps a reference to PHP's explode function which is the java equivalent of
> String.split?
> http://php.net/manual/en/function.explode.php
> And then URI is the fish.
>
> Or it could be a reference to an unwritten s
Whoops. You're right.
On Sun, May 6, 2012 at 11:42 PM, Frank Siebenlist <
frank.siebenl...@gmail.com> wrote:
> … but dolphins are no fish…
>
> On May 6, 2012, at 5:25 PM, Sean Neilan wrote:
>
> > Perhaps a reference to PHP's explode function which is the java
> equivalent of String.split?
> > htt
On Sun, May 6, 2012 at 8:19 PM, Phil Hagelberg wrote:
> The clojure-json library has been deprecated for years; I heartily
> recommend Cheshire instead.
This is one of the big problems with Clojure in Action - Manning did
not update it for Clojure 1.3 so it was out of date by the time it was
publ
32 matches
Mail list logo