Thanks Phil, looks great. I'll have an opportunity to try it out within the
next few weeks.
I'm also moving to Seattle from South Africa soon, so I look forward to
meeting you!
Cheers,
David
On 29 December 2011 20:24, Phil Hagelberg p...@hagelb.org wrote:
One common problem when developing
On 31 December 2011 17:44, Timothy Baldridge tbaldri...@gmail.com wrote:
Yeah, I hadn't thought of the issue of the refs, but I don't think
it's a exceptionally hard problem to solve.
It's not really possible to solve completely.
If I serialize, then deserialize an immutable data structure,
I write one function,example:
(defn #^{:return String} shout [#^{:tag String} s #^{:tag String} s1]
(.toUpperCase s))
The function has two parameters: s and s1, I hope the two parameters
are both String type.
But I run the command: (shout 1 2), the command print 1, why
the command don't
Talking from a strong PHP and Java background and zero previous Lisp
experience -
All I can say is, keep it simple. With the (f x) form, there's zero
syntactical ambiguity. There are bigger problems in the world besides
where the paren goes. Move along. :)
On Dec 28, 12:26 am, Gert Verhoog
On 12/27/11 6:56 PM, Tim McIver wrote:
Hello Clojure community!
I'd like to announce the release of a small and simple hexdump
utility. As is usually the case, this project was born out of a need
I had in my own work which often requires looking at raw data dumps.
This is my first time
I can't imagine what benefits M-expressions in Clojure would give us.
--
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
Yeah. I totally agree with you.
I think some improvements of syntax highlighting and REPL interaction
will make clooj perfect.
Jonguk
On Dec 29, 9:18 am, Timothy Pratley timothyprat...@gmail.com wrote:
Have just been trying Clooj out and I have to say, it is really really good!
Thanks Arthur
after the underlying CDT library is released.
1.2.6.2-SNAPSHOT is in clojars, but does anyone happen to know when the cdt
github repo is to be updated? or has the project moved?
Thanks!
On Tue, Dec 27, 2011 at 8:03 PM, Phil Hagelberg p...@hagelb.org wrote:
I just pushed out version 1.3.4 of
Hi,
Why not do things the other way around, and instead using partial to
curry the first argument, just repeat it as the second argument. i.e.,
(map + [1 2 3] (repeat 3)) . This approach seems to me as much more
readable and clean.
Yoav
On Dec 29, 4:22 pm, Jay Fields j...@jayfields.com wrote:
Hi,
I created the command-line argument parser library for Clojure.
It is a wrapper for argparse4j Java library.
Argparse4j is developed based on Python's argparse module.
I know the tools.cli. This library is a little bit more powerful and
has additional features such as sub-commands and
A few days ago, Alexander Klink and Julian Walde showed how a flaw in
implementation of hash tables in some programming languages can be used to
launch DoS against some web servers. According to their paper [1], Java is
also vulnerable.
I don't know how much Clojure relies on Java (HashMap
On Dec 28, 1:03 am, Phil Hagelberg p...@hagelb.org wrote:
I just pushed out version 1.3.4 of Swank Clojure.
I see the fix for windows file name separators has gone in.
clojure-jack-in now works on my windows laptop.
Many thanks, Alasdair
--
You received this message because you are subscribed
I am relatively new to clojure and still trying to learn my way
around. In my day job, my primary language is Java, so breaking the
imperative and mutable habit was kind of tough for me.
To get my feet wet, I wrote a small set of functions to implement a
prefix tree. It's larger than something I
Hello,
I just pushed out the first release of my new lein plugin, lein-
cljsbuild. It adds a lein task that can either build your
ClojureScript one time, or watch for modifications and automatically
build it when necessary (like cljs-watch). It also has support for
hooking into the lein compile
I wrote a topic about this yesterday, but as a new member my posts are
moderated and it seems that moderators of this forum are somewhat
inactive... :-)
For more information about this, you can see the paper [1], slides from the
presentation [2] and twitter account dedicated to this
I'm really struggling with this one. Basically I'm trying to login to
reddit programmatically (I know i know there's an API but just for the
purposes of this) and I figured the http library would be the best way
to do this.
So, using the following code
(post https://ssl.reddit.com/post/login;
Hi folks,
The Clojure mailing list moderators were on vacation for a few days after
December 25th. :) I just cleared out the moderation queue, and we will be
continuing to monitor it on a regular basis.
Thanks for your patience,
-Stuart Sierra
clojure.com
--
You received this message
Hi LiuLei,
Clojure's type hints are just that, hints. They're only there to help the
compiler emit more efficient bytecode without using Java reflection. They
are not type declarations, and they are not enforced by the compiler.
-Stuart Sierra
clojure.com
--
You received this message because
Hi,
Am 28.12.2011 um 10:32 schrieb liulei:
I write one function,example:
(defn #^{:return String} shout [#^{:tag String} s #^{:tag String} s1]
(.toUpperCase s))
The function has two parameters: s and s1, I hope the two parameters
are both String type.
But I run the command: (shout 1
Yes, *-SNAPSHOT versions are development snapshots, generated automatically
by Git / Hudson / Maven.
Non-SNAPSHOT releases of Clojure and clojure-contrib are available in the
Maven Central repository. SNAPSHOT releases, if they exist, are available
in the Sonatype OSS repository. See
Hi Takahiro,
This will work. It's not 100% idiomatic Clojure, but it's an acceptable
workaround to the DOM loading issue.
If ClojureScript had `alter-var-root`, which it doesn't, you could use that
to set the Vars in your init function. But ClojureScript doesn't really
have Vars either, so I
Thanks for collecting this list, Sean. It looks correct to me.
Also, as the original author of prxml, I will grant my blessing to anyone
who is willing to port / maintain it as a new contrib.
-Stuart Sierra
clojure.com
--
You received this message because you are subscribed to the Google
At the moment, ClojureScript is so heavily reliant on the Google Closure
Library that it would be difficult to support the expectation that it will
work with any version. The current release plan in the works for
ClojureScript is to package the Google Closure Library and Compiler along
with
Hi Joel,
Since release 1.3.0, Clojure defaults to Long for all integer types.
Primitive 32-bit ints are only available as local variables in loops. More
information available here:
http://dev.clojure.org/display/doc/Documentation+for+1.3+Numerics as well
as many mailing list discussions.
And thanks to David Miller for his excellent and continued work on
ClojureCLR! I'm happy that we have such a great community to support
Clojure on the .NET platform.
-Stuart Sierra
clojure.com
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post
Hi Nicolas,
You're the first person to bring this up, as far as I know. ClojureScript,
of course, is designed to run in JavaScript VMs, which are usually
single-threaded, so Refs don't really apply. I'm not sure you even need to
do special detection whether Refs are available: just define some
Hello folks,
Does anyone know a way with Emacs/Leiningen/Slime/Swank to ask the
system to optimize the imports? I'm looking for something similar to
the way Intellij does things:
http://www.jetbrains.com/idea/webhelp/optimizing-imports.html
Converting existing Java example to Clojure and many
I believe this might be what close to what you are looking for:
https://github.com/technomancy/slamhound
On Sun, Jan 1, 2012 at 1:03 PM, Daniel Glauser danglau...@gmail.com wrote:
Hello folks,
Does anyone know a way with Emacs/Leiningen/Slime/Swank to ask the
system to optimize the imports?
Perfect. Thanks!
On Jan 1, 12:05 pm, gaz jones gareth.e.jo...@gmail.com wrote:
I believe this might be what close to what you are looking for:
https://github.com/technomancy/slamhound
On Sun, Jan 1, 2012 at 1:03 PM, Daniel Glauser danglau...@gmail.com wrote:
Hello folks,
Does
On Sat, Dec 31, 2011 at 10:10 PM, cej38 junkerme...@gmail.com wrote:
Ambrose,
Thanks for pointing me to the cKanren branch.
Happy New Year.
Just to be clear, hardly anythings works in the cKanren branch at the
moment. But yes that definition of distincto looks good.
David
--
You
On Sun, 2012-01-01 at 08:11 -0800, djh wrote:
How do I use this response as part of any subsequent requests? The
response contains a 302 code which I'd imagine should redirect to the
homepage as a logged in user, but I'm struggling to understand how to
make clj-http use the authenticated
Takahiro fat...@googlemail.com writes:
http://imgur.com/5NCEW
Is any procedure needed?
I've tried 1.3.4 with clojure 1.2.1/1.3.0 and Emacs 23.3.
My .emacs.el includes only load-path and marmalade settings.
including [ring 1.0.1] in my project.clj, which uses clj-stacktrace
0.2.2 instead of
On Fri, 2011-12-30 at 15:21 -0800, rahulpilani wrote:
https://gist.github.com/1541958
I would appreciate any pointers on style or if I could implement it
any better.
Here are some style pointers on 74487e9, though they may be more
specific than you were looking for.
1: (ns prefix-tree)
I would also like to thank David for his work on ClojureCLR.
ClojureCLR is going to make
for a great 2012 for me!
-Rob Rowe
On Jan 1, 1:01 pm, Stuart Sierra the.stuart.sie...@gmail.com wrote:
And thanks to David Miller for his excellent and continued work on
ClojureCLR! I'm happy that we have
It would be cool to get an emacs command to run slamhound directly in
a file... h #lightbulb
On Jan 1, 2:08 pm, Daniel Glauser danglau...@gmail.com wrote:
Perfect. Thanks!
On Jan 1, 12:05 pm, gaz jones gareth.e.jo...@gmail.com wrote:
I believe this might be what close to what you
Matthew Boston matthew.bos...@gmail.com writes:
It would be cool to get an emacs command to run slamhound directly in
a file... h #lightbulb
It exists (heck, you can run it on your whole project with one command),
but it's not very polished since the pretty-printing of ns forms is
On Sun, Jan 1, 2012 at 5:55 PM, Stephen Compall
stephen.comp...@gmail.com wrote:
On Fri, 2011-12-30 at 15:21 -0800, rahulpilani wrote:
1: (ns prefix-tree)
While this is just a sample, namespaces without at least one `.' are
discouraged. I favor the Java convention (prefix with backwards
On Sun, 2012-01-01 at 22:10 -0500, Cedric Greevey wrote:
Odd that this isn't named not-empty? with a ? character.
Not at all; it's not a predicate. See also `every?' versus `some'.
Where are these documented? Better yet, all the differences from 1.2
in 1.3? There's one frequently-referenced
On Sun, Jan 1, 2012 at 10:31 PM, Stephen Compall
stephen.comp...@gmail.com wrote:
On Sun, 2012-01-01 at 22:10 -0500, Cedric Greevey wrote:
Odd that this isn't named not-empty? with a ? character.
Not at all; it's not a predicate. See also `every?' versus `some'.
It's useful as an if or cond
On Sun, Jan 1, 2012 at 11:09 PM, Cedric Greevey cgree...@gmail.com wrote:
On Sun, Jan 1, 2012 at 10:31 PM, Stephen Compall
stephen.comp...@gmail.com wrote:
On Sun, 2012-01-01 at 22:10 -0500, Cedric Greevey wrote:
Odd that this isn't named not-empty? with a ? character.
Not at all; it's not a
40 matches
Mail list logo