On Fri, Jun 8, 2012 at 4:35 AM, Gabo delmasc...@gmail.com wrote:
I'm actually working on a simple function which would replace the nth
element of a vector.
(assoc v n e) ;; returns a new vector with the nth element of v replaced by e
Note that it does not change the original vector.
(def
On Sun, Jun 3, 2012 at 1:55 AM, Vinzent ru.vinz...@gmail.com wrote:
Actually, it's kinda the same (Fogus and me decided to merge trammel and
clojure-contracts into one library)
Yeah, I figured. I just wanted to point people to the newly created
contrib library since that's where (I assume)
On Fri, Jun 1, 2012 at 5:53 PM, Qihui Sun qihui@gmail.com wrote:
So I am interested,if Clojure can be used like a general library in Java,it
will beat above libraries and be awesome !
Yes, you can instantiate clojure.lang.RT inside your Java code and
load, compile and invoke Clojure code,
On Fri, Jun 1, 2012 at 11:18 AM, Abraham Egnor abe.eg...@gmail.com wrote:
I'm early in the process of learning clojure, and am hoping that the
community has suggestions for a frustration I've run into.
...
I eventually tracked it down by evaluating each subexpression of line - the
root bug is
On Fri, Jun 1, 2012 at 5:26 AM, rossputin rossaj...@gmail.com wrote:
I've got a clojure.java.jdbc result coming back as a byte[]. Its from
a GROUP_CONCAT on an int(10) field.
In the mysql client the result is: '1,2,4,6,7,19,24,32,54,152'.
Looks like a string? (coming back as a byte array)
On Sat, Jun 2, 2012 at 2:34 PM, Moritz Ulrich
ulrich.mor...@googlemail.com wrote:
I think one important point here is that you use two different data
structures to hold the same kind of data.
Points and deltas are not the same kind of data. Yes, they both have
x/y/z values but their meaning is
On Sat, Jun 2, 2012 at 5:22 PM, Vinzent ru.vinz...@gmail.com wrote:
BTW, you may want to use clojure-contracts
(https://github.com/dnaumov/clojure-contracts) instead of asserts or
:pre\:post in order to get much nicer and informative error reporting.
Or keep an eye on
On Sat, Jun 2, 2012 at 7:31 PM, Qihui Sun qihui@gmail.com wrote:
For example:
java -jar clojure-1.5.0.jar -genclasses,will produce
clojure-lib-1.5.0.jar,and it is genericized as Philip Potter mentioned!
Sounds like what you want is Leiningen, to generate an uberjar,
optionally with
On Fri, Jun 1, 2012 at 12:08 AM, Boris V. Schmid boris.sch...@gmail.com wrote:
Thanks, it was get-in that I was looking for, but couldn't find.
At this point I'll give a plug for http://clojureatlas.com as a great
way to explore the Clojure core/libraries by concept.
--
Sean A Corfield -- (904)
On Wed, May 30, 2012 at 3:26 PM, Gerrard McNulty
gerrard.mcnu...@gmail.com wrote:
I see a lot of clojure libraries use the pattern where an implicit
variable is stored as a dynamic variable. A good example is
clojure.java.jdbc:
I wouldn't say it's a good example. It's certainly an example of
On Fri, May 25, 2012 at 1:46 PM, Phil Hagelberg p...@hagelb.org wrote:
On Fri, May 25, 2012 at 1:41 PM, Karl Krukow karl.kru...@gmail.com wrote:
If I'm embedding swank clojure server in non-development, the code would
need to start up swank - how would I do that?
Just add swank as a non-dev
On Fri, May 25, 2012 at 2:56 PM, Alan Malloy a...@malloys.org wrote:
This may be good advice in some cases (eg when all network access to
your server is trusted), but on a lot of production servers it
strikes me as very dangerous to apply this suggestion carelessly.
I was assuming that network
First off, the code you posted can't actually be right: you have
(println n) but the for binding was for i.
Second, given your macro, try (range 100) instead of (range 10) and
see what you get...
On Wed, May 23, 2012 at 10:56 PM, Cedric Greevey cgree...@gmail.com wrote:
For some reason, this
On Wed, May 23, 2012 at 11:37 PM, Cedric Greevey cgree...@gmail.com wrote:
Replacing (range 10) with (take 10 (iterate inc 0)) didn't change
anything. It's still not parallelizing.
My point was that when you replace (range 10) with (range 100) in your
code, it prints numbers up to 31 and no
On Thu, May 24, 2012 at 9:07 AM, blais goo...@furius.ca wrote:
Is it common for people deploying Clojure servers in a production
environment to leave a swank or nrepl server running for making live bug
fixes? Do you guys do this? Would you advise against it?
We've recently added swank server
On Thu, May 24, 2012 at 5:02 AM, John Szakmeister j...@szakmeister.net wrote:
On Thu, May 24, 2012 at 7:46 AM, Chris Perkins chrisperkin...@gmail.com
wrote:
[snip]
Also, pmap is not broken; the problem with the code you pasted is simply an
errant closing paren. You had (do (doall (pmap ...)
On Mon, May 21, 2012 at 8:54 AM, Christian Guimaraes
cguimaraes...@gmail.com wrote:
What is the better approach (or functional approach) to work with a code
like the below?
A simple translation to condp:
(defn parse-group [group-identifier line]
(condp = group-identifier
ID1 (handle-id1
On Mon, May 14, 2012 at 10:41 AM, James abbott...@gmail.com wrote:
thanks for the feedback. To jump in and start augmenting non-trivial
Clojure code sounds like a serious task. I think the prerequisite for
that would be to be able to read and write trivial Clojure code, which
is where I'm at
On Mon, May 14, 2012 at 4:47 AM, Chris Ford christophertf...@gmail.com wrote:
Are there any Clojure dojos near where you live? We have a monthly one in
London, which is a great way for people of different experience levels to
come together.
FYI, the guy who used to run the London Clojure dojo
Check out lein-localrepo - a way to install arbitrary JARs in your
local Maven repo cache.
On Sat, May 12, 2012 at 9:36 AM, Mads Andreas Elvheim
mads.elvh...@gmail.com wrote:
I have a few issues which are all related. I'll do my best to explain them
one by one.
I'd like to use the latest
On Sat, May 12, 2012 at 9:20 AM, larry larrye2...@gmail.com wrote:
(defn adder[n]
(let [x n]
(fn[y] (+ y x
Is the let necessary? It seems redundant.
Can you provide a specific reference to where the example appears in
Joy of Clojure (page number)? I assume the actual example in
On Fri, May 11, 2012 at 6:28 AM, Softaddicts
lprefonta...@softaddicts.ca wrote:
I may be a bit aggressive here :) but will this be ready for 1.5 ? Or
available
as an independent feature ? (I am not sure about this given the name)
Reducers are part of the 1.5.0 master branch. The only reason
On Fri, May 11, 2012 at 9:17 AM, Sean Corfield seancorfi...@gmail.com wrote:
Reducers are part of the 1.5.0 master branch. The only reason they're
not already available in a master-SNAPSHOT build is because Clojure
isn't building at the moment due to the jsr166y change and Java 6
dependency
A minor update that includes a performance tweak for large result sets
(thank you Jürgen Hötzel) and a small API change - exposing
do-prepared-return-keys - to make life easier for the Korma team.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC.
On Thu, May 10, 2012 at 4:56 PM, Rostislav Svoboda
rostislav.svob...@gmail.com wrote:
No, please stop. Zeno, you MUST get the java -cp clojure-1.4.0.jar
clojure.main working! It is the very core the life and the universe.
I'm sorry but that's a silly comment.
Starting with Leiningen instead of
On Mon, May 7, 2012 at 6:57 PM, Lee Spector lspec...@hampshire.edu wrote:
On May 7, 2012, at 3:10 PM, Larry Travis wrote:
If you are not into the intricacies of Emacs multi-key chording, using
Aquamacs helps a bit. (Despite the statement in the README that
Swank-clojure and SLIME are only
On Mon, May 7, 2012 at 8:21 PM, Lee Spector lspec...@hampshire.edu wrote:
My recollection was that Aquamacs had more support for Mac OS native menus
and other GUI elements too...
Probably, yes. I installed it last year and I seem to recall some
native chrome and a menubar - but then folks
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
On Sun, May 6, 2012 at 8:19 PM, Phil Hagelberg p...@hagelb.org 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
Sorry for the slow response - we've been wrapped up in a gigantic data
migration at work...
On Tue, May 1, 2012 at 4:26 AM, Wolodja Wentland babi...@gmail.com wrote:
It certainly does, but I am none the wiser. I always had the
feeling/impression
that dynamic variables are something to be
On Wed, May 2, 2012 at 5:44 PM, Larry Travis tra...@cs.wisc.edu wrote:
I now can't get the behavior to reproduce either. I have no idea what kind
of dumb mistake I was making in the first place, and I'm very sorry to have
wasted your time. (For what it's worth, both dependency-vector versions
On Sat, Apr 28, 2012 at 12:21 AM, Larry Travis tra...@cs.wisc.edu wrote:
I have installed Leiningen not so much to manage projects but to enable use
of clojure-jack-in as a means of getting Swank and Slime to work. And they
do work for me. But now I have a question that I can't find an answer
On Sat, Apr 28, 2012 at 2:41 PM, Larry Travis tra...@cs.wisc.edu wrote:
Created /Users/larrytravis/prjctOne/prjctOne-1.0.0-SNAPSHOT.jar
...
prjctOne. That is, what would correspond to the [utilities
0.0.1-SNAPSHOT] vector in your example?
Try [prjctOne 1.0.0-SNAPSHOT]
--
Sean A Corfield --
It used to be that lein new would not allow you to create projects
with jure in the name. I guess that restriction has disappeared,
which is unfortunate since it would have prevented the problem you ran
into...
On Thu, Apr 26, 2012 at 10:57 PM, Sean Neilan sneil...@gmail.com wrote:
Hello
On Thu, Apr 26, 2012 at 10:09 PM, Guofeng Zhang guof...@radvision.com wrote:
I need to copy or install lein-cljsbuild-0.1.8.jar to LEIN's plugins
directory. Then each steps works well.
This command should do that for you:
lein plugin install lein-cljsbuild 0.1.8
--
Sean A Corfield -- (904)
On Tue, Apr 24, 2012 at 8:30 PM, Michael michael-a...@db.com wrote:
Would it be possible to make resultset-seq a dynamic var
No, that certainly is not going to happen. Dynamic vars are not the
right way to build an API in Clojure.
bind in custom result set mapping without having to make two
It looks like there are two issues here...
On Tue, Apr 24, 2012 at 8:04 PM, Michael michael-a...@db.com wrote:
(defn- oracle-insert-sql [table pk-col-name pk-seq-name ks]
(let [cols (apply str (interpose \, (map jdbc/as-identifier ks)))
n (count ks)
qmarks (apply str
On Fri, Apr 27, 2012 at 4:14 AM, Wolodja Wentland babi...@gmail.com wrote:
Could you elaborate on that please? I see that dynamic variables are used
quite
often to give the user the ability to configure/change the behaviour of a
library. That approach is often coupled with a macro that
Just so you don't think I'm ignoring these posts, I'm a bit tied up
with work for the next week or so but will dig into your questions
when I get a chance and I'd certainly like to make it easier for you
to work with Oracle than it appears to be right now (although it would
help me a lot if you
No functional changes (at least, no _intentional_ functional changes)
but a code reorganization.
The internal namespace (clojure.java.jdbc.internal) has been merged
into the main namespace (clojure.java.jdbc) and access on various
symbols has been adjusted accordingly. This was a change suggested
2012/4/18 Ralph Moritz ralmor...@gmail.com:
clojure.org needs to be updated with a release announcement for 1.4.
It has been updated (and points to this thread).
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
On Tue, Apr 17, 2012 at 9:16 PM, Dmitri dmitri.sotni...@gmail.com wrote:
(map? foo bar baz) would return bar if foo is a map and baz otherwise.
To elaborate on Alan's response, consider:
(if (map? foo) (/ bar 0) baz)
If map? were 'merely' a variadic function, (map? foo (/ bar 0) baz)
would
On Mon, Apr 16, 2012 at 10:18 PM, larry larrye2...@gmail.com wrote:
On Monday, April 16, 2012 10:02:48 AM UTC-7, Cedric Greevey wrote:
(- 3 ((partial f 2))) should also work.
I just wrote that it DOESN'T WORK. That's the point of the question.I
should get 5 instead I get
On Fri, Apr 13, 2012 at 3:33 AM, Vinzent ru.vinz...@gmail.com wrote:
Just like Boolean's javadoc puts a strong
emphasis on the fact that public Boolean(boolean value) constructor usually
shouldn't be used, clojure's docstring should say that (= x false) may give
you a result which will confuse
On Fri, Apr 13, 2012 at 6:51 AM, David Cabana drcab...@gmail.com wrote:
I have not read it all (yet), but what I have read is outstanding.
I haven't bothered buying it because it's so out of date now. I'll buy
a second edition when it gets underway, however.
I bought Programming Clojure once
On Wed, Apr 11, 2012 at 5:46 PM, Leif leif.poor...@gmail.com wrote:
Then I checked c.c/== ; Imagine my reaction when I learned that Clojure had
something in common with PHP. o_O, :'[
It's instructive to look at the result of:
(let [ones [1 1.0 1N 1M 1.0M] ] (for [a ones b ones] (== a b)))
On Mon, Apr 9, 2012 at 10:05 PM, Andy Wu icetorto...@gmail.com wrote:
(def int-vec (with-open [rdr (clojure.java.io/reader file name)]
(doall (map convert (line-seq rdr)
This will convert all 5 million lines to a 5 million element vector of
vector pairs. That's
(since we only have a small number of job postings on the list, I hope
it's OK to continue posting openings here... I guess we can all look
forward to the need for a separate clojure-jobs list!).
World Singles is looking for a smart, motivated developer to join our
small, fully distributed team
On Mon, Apr 9, 2012 at 2:29 PM, Aaron Cohen aa...@assonance.org wrote:
I don't really like this feature, I wish the not-found version of invoke
was only available by explicitly calling get.
It is however, documented, here: http://clojure.org/data_structures#Data
Structures-Symbols
It would
On Wed, Apr 4, 2012 at 12:44 PM, Softaddicts
lprefonta...@softaddicts.ca wrote:
On some application containers (tomcat, weblogic, ...), AOT can simplify your
life
when configuring your app context, you may need to refer to some of your
Clojure
components but the container can only refer to
On Fri, Mar 30, 2012 at 8:18 AM, Devin Walters dev...@gmail.com wrote:
Try meetup.com and look for Clojure and/or Lispish groups. Contact them with
details. I would be happy to put the word out in our group. Feel free to
pass me details.
Also LinkedIn has a Clojure group and that has a Jobs
On Fri, Mar 30, 2012 at 11:01 AM, Larry Travis tra...@cs.wisc.edu wrote:
user= (time (dotimes [i 10] (average1 mill-float-numbs)))
Elapsed time: 526.674 msecs
user= (time (dotimes [i 10] (average2 mill-float-numbs)))
Elapsed time: 646.608 msecs
user= (time (dotimes [i 10] (average3
On Thu, Mar 29, 2012 at 6:41 AM, Chris Webster cmhwebs...@gmail.com wrote:
Is there an alternative/mirror site for downloading Clojure, or do I just
have to wait until the main site is working again?
You might want to start with Leiningen since that will hide all of the
classpath / dependency
On Wed, Mar 28, 2012 at 12:56 PM, Devin Walters dev...@gmail.com wrote:
The set literal also seem fairly abundant in test code.
Yup, I have a bunch of tests where success is to get back any of a
known set of values.
We have: '(), [], {}, #{}
Well... (), [], {}, #{} - the ' isn't needed on the
On Fri, Mar 23, 2012 at 8:09 PM, Cedric Greevey cgree...@gmail.com wrote:
That said, one of the less efficient things about the Clojure
development process is the whole CA thing. A lot of FOSS projects seem
to get by fine without erecting such a barrier to participation.
I can't think of a
On Fri, Mar 23, 2012 at 8:44 PM, Cedric Greevey cgree...@gmail.com wrote:
#{foo bar baz} is somewhat ugly. It occurs to me that one could modify
the reader to additionally accept
{{foo bar baz}}
My concern is that {{1 2 3 4}5} is currently legal - a map with a map
as a key and 5 as the value.
On Thu, Mar 22, 2012 at 11:12 AM, Stuart Sierra
the.stuart.sie...@gmail.com wrote:
Moderation will continue as soon as it's working again.
FWIW, I ran into this on a group I moderate and temporarily switched
back to old groups which let me moderate users and messages...
--
Sean A Corfield --
On Tue, Mar 20, 2012 at 10:26 PM, Evan Mezeske emeze...@gmail.com wrote:
I'm sure that some level of moderation is necessary to keep the list clean,
but does it have to be so draconian?
Hmm, I didn't even know the list was moderated (beyond first post
moderation which I'd assume was the norm on
On Wed, Mar 21, 2012 at 9:34 AM, ron peterson peterson.ron...@gmail.com wrote:
So I'd like to log the AssertionError using clojure.tools.logging
library. For example if my function throws the following:
#AssertionError java.lang.AssertionError: Assert failed: (=
resource s)
How do I redirect
On Mon, Mar 19, 2012 at 3:56 AM, Narvius narv...@gmail.com wrote:
2) Return [new-state success?] instead of just new-state - requires too much
acrobatics from the user of the function (which is still me, but whatever).
Destructuring makes it easy to work with multi-value returns:
(let [[state
On Sun, Mar 18, 2012 at 11:12 AM, László Török ltoro...@gmail.com wrote:
will the videos of the talks be available for those who did not make it to
the conference?
They should be. Everything was video'd in the end. Probably take a few
months to get everything sync'd with slides and posted
On Thu, Mar 15, 2012 at 10:49 AM, David Nolen dnolen.li...@gmail.com wrote:
It's a convention from The Reasoned Schemer. It's just an easy way to
differentiate goals from regular functions.
What's the rationale in TRS for that? (and conde) Like Phil (and no
doubt others) it seems an odd
On Thu, Mar 15, 2012 at 12:21 PM, David Nolen dnolen.li...@gmail.com wrote:
It has nothing to do w/ qualified or not qualified, namespaces or anything
else. In some programs you may want to freely mix functions and relations.
But that's what namespaces are for in Clojure, yes?
Seems like this
On Thu, Mar 15, 2012 at 1:28 PM, David Nolen dnolen.li...@gmail.com wrote:
On Thu, Mar 15, 2012 at 4:21 PM, Sean Corfield seancorfi...@gmail.com
wrote:
(require '[clojure.core.logic :as ?])
(?/run [q] ;; instead of run*
(?/cons 1 q (cons 1 [2 3]))) ;; instead of (conso 1 q (cons 1 [2 3
On Thu, Mar 15, 2012 at 2:16 PM, Baishampayan Ghose b.gh...@gmail.com wrote:
There is run, but `run` takes an extra argument `n` and will solve for
only `n` results while `run*` solves for all.
Ah, OK. That makes sense. Perhaps that could be added to the primer?
(just curious: why not run-all?)
On Wed, Mar 14, 2012 at 2:43 PM, Linus Ericsson
oscarlinuserics...@gmail.com wrote:
:dependencies [[org.clojure/clojure 1.3.0]
[core.logic 0.6.1-SNAPSHOT]]
You want: [org.clojure/core.logic 0.6.7]
http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go has
a link to Maven Central
On Mon, Mar 12, 2012 at 10:39 AM, Armando Blancas abm221...@gmail.com wrote:
If invalid input will not throw an error
immediately, then it DOES need to be documented that invalid input
will result in undefined output.
~Justin
Documented by whom? By you and FrankS? Maybe the push back is for
On Thu, Mar 8, 2012 at 2:54 AM, Mark Engelberg mark.engelb...@gmail.com wrote:
Looking back at my initial email, I can see that it probably came across as
a bit of a rant, and probably not as constructive a response as I had
intended it to be.
No, I thought it was an interesting set of
On Wed, Mar 7, 2012 at 5:10 PM, Mark Engelberg mark.engelb...@gmail.com wrote:
* introducing variables creates new indenting level, making code creep to
the right
Mitigated by breaking functions into sub-functions (which is good
practice anyway).
* as code creeps to the right, you need to
On Tue, Mar 6, 2012 at 7:36 AM, Bob bstewart...@gmail.com wrote:
I am new to clojure. I am just trying to install and use feedparser-
clj. I ran lein install and it said it completed ok.
You generally use Clojure libraries by specifying the dependency in
your project.clj file for Leiningen to
On Mon, Mar 5, 2012 at 2:15 PM, Stuart Sierra
the.stuart.sie...@gmail.com wrote:
Yes, it is incorrect, in both Clojure and ClojureScript, to repeat the
(:require ...) or (:use ...) forms in an `ns` declaration.
Really? Most of the Clojure code I've seen out in the wild has a
:require for each
By popular request:
http://groups.google.com/group/clj-time
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You
TL;DR: Adds support for SQLite and improves support for MS SQL Server.
https://github.com/clojure/java.jdbc
Changes in 0.1.3:
* Fix JDBC-26 (fully) by adding transaction/generated keys support for
SQLite3 (based on patch from Nelson Morris)
Changes in 0.1.2:
* Fix JDBC-23 by handling prepared
On Wed, Feb 29, 2012 at 3:42 PM, Timothy Baldridge tbaldri...@gmail.com wrote:
The core.clj file is probably the best way to get an idea of how
clojure-py differs and is similar to clojure:
https://github.com/halgari/clojure-py/blob/master/clojure/core.clj
Currently we have about half of
I'm on OS X Lion and using:
* Emacs 24.0.90
* clojure-mode 1.11.4
* lein 1.6.2
* swank-clojure 1.4.0 as a dev-dependency (and as a global plugin, if
it matters)
I start the REPL via M-x clojure-jack-in when viewing my project.clj
file. When I do (use 'swank.cdt) I see the following:
CDT ready
This seems like a bug in clojure.data.csv and someone should create a
JIRA ticket for it, perhaps with a patch?
http://dev.clojure.org/jira/browse/DCSV
This once again makes me question why this CSV library ended up in
contrib (without any discussion) rather than the more actively
maintained and
On Mon, Feb 20, 2012 at 1:48 AM, Sergey Didenko
sergey.dide...@gmail.com wrote:
May be what we really need is a meta site or article on clojure.org or
promotion of other meta site like
http://stackoverflow.com/questions/tagged/clojure, with a lot of
community rated links to existing resources?
On Sun, Feb 19, 2012 at 2:37 PM, Levi Campbell levicc00...@gmail.com wrote:
For a project I'm working on, I need a library that can produce xml, I
was using clojure.xml/emit but the stackoverflow question
http://stackoverflow.com/questions/4440523/what-happened-to-closure-xml-emit
told me that
On Sat, Feb 18, 2012 at 1:29 PM, ClusterCat cluster...@mail.com wrote:
(ns test (:import (java.io File)))
This says import the File class from the package java.io
(ns test (:import (java.io.File)))
Try:
(ns test (:import java.io.File))
(let [filename (first *command-line-args*)]
On Sun, Feb 19, 2012 at 11:21 AM, Moritz Ulrich
ulrich.mor...@googlemail.com wrote:
On Sun, Feb 19, 2012 at 03:49, Base basselh...@gmail.com wrote:
cd /Users/bhajj/Documents/workspace/music/ lein jack-in 55284:
Try running this command in a normal shell and check if it works. This
looks more
On Fri, Feb 17, 2012 at 4:57 AM, abaitam abai...@gmail.com wrote:
a) All those concrete things around you look like objects that has
properties and actions:
I don't think that's true for a lot of brand new programmers. It's
true for Java programmers because everything is an object in their
On Thu, Feb 16, 2012 at 1:57 AM, Peter Hanak ptr6...@gmail.com wrote:
If someone in the community is thinking about something like this, and
needs any help please let me know.
Something like this, from the author of Clojure in Action, Amit Rathore:
Very nice! Thank you for working on that!
Also, thank you for the stream of updates to the Where Did Clojure
Contrib Go? page recently - very much appreciated!
Sean
On Wed, Feb 15, 2012 at 11:21 AM, Andy Fingerhut
andy.finger...@gmail.com wrote:
Fogus, Alex Millier, and I have made some
I don't think your tone is very helpful Armando. It's perfectly
reasonable to ask for specific examples - so that there are actionable
tasks we as a group can take on, rather than just some vague the
documentation is too Java-centric complaint.
When I read the OP, I was not sure what he was
On Mon, Feb 13, 2012 at 4:53 PM, Dave Sann daves...@gmail.com wrote:
I can confirm that externs are found on the classpath (including jars) in
the latest versions of clojurescript.
Likewise. I blogged Getting Started with ClojureScript and jQuery based on that.
Having the externs automagically
On Sun, Feb 12, 2012 at 5:44 AM, pron ron.press...@gmail.com wrote:
So my question is, what is the
behavior profile for persistent collection nodes in Clojure applications,
and what is their measured effect on GC.
I think that's going to depend on what your code does and how it
behaves - which
On Sat, Feb 11, 2012 at 4:22 PM, Cedric Greevey cgree...@gmail.com wrote:
Cute, but that makes giving it a docstring, pre- and postconditions,
and similar things a pain.
You can get a doctoring and even arglists (for code assist in your IDE
and for clojure.repl/doc):
(def ^{:arglists '([pred
On Sat, Feb 11, 2012 at 5:46 PM, Sean Corfield seancorfi...@gmail.com wrote:
You can get a doctoring
D**n you autocorrect! :)
You can get a docstring...
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Perfection
On Sat, Feb 11, 2012 at 6:30 PM, Michał Marczyk
michal.marc...@gmail.com wrote:
print-table expects a sequence of maps, e.g.
(print-table (:members (reflect Math)))
Wow! I had no idea how useful that could be... Learn something new
every day! (and, lately, that's a new Clojure function every
On Wed, Feb 8, 2012 at 10:16 PM, George Jahad
cloj...@blackbirdsystems.net wrote:
If you use Emacs and Swank-clojure, it is much
easier to use swank-cdt, as your UI:
http://georgejahad.com/clojure/swank-cdt.html
I just want to chime in and say swank-clojure 1.4.0 has made this
process so much
On Thu, Feb 9, 2012 at 4:30 PM, pron ron.press...@gmail.com wrote:
Yes, that's what I thought. Does anyone have any experience with Clojure's
garbage production pattern (esp. due to the persistent collection) and it's
behavior with the older GCs as well as with G1?
These are the options we run
On Tue, Feb 7, 2012 at 8:18 AM, Base basselh...@gmail.com wrote:
For the former, it is easy enough to just add the reference to the
project.clj and it automagically appears in the lib.
Does the same hold true for Clojurescript libraries? I cannot seem to
get this to work correctly and end up
On Sun, Feb 5, 2012 at 5:23 PM, Avi Flax avif...@gmail.com wrote:
What about: (formatter fmtstr (default-time-zone)) ?
Ah yes, but if that's the normal desired behavior that's an ugly
default compared to (formatter fmtstr)...
Also worth noting is that Avi pointed out that (now),
On Mon, Feb 6, 2012 at 11:17 AM, Cedric Greevey cgree...@gmail.com wrote:
Maybe there should be a *switch* for that ...
A good suggestion as a possible compromise to allow both defaults.
Right now, my default position is to not change anything unless enough
folks indicate a desire for default
Good feedback Casper, thanx!
On Mon, Feb 6, 2012 at 12:43 PM, Caspar Hasenclever
caspar.hasencle...@googlemail.com wrote:
As Avi points out on the github issue discussion, this change would
best be done throughout, i.e. wherever a DateTime instance is created,
otherwise one would end up with
Avi Flax recently pointed out that (formatter fmtstr) creates a
formatter in UTC whereas the underlying Joda Time library uses the
default timezone when you do DateTimeFormat.forPattern():
https://github.com/seancorfield/clj-time/issues/8
Given that a two-argument version exists to specify a
Updates MongoDB Java driver to 2.7.3
Updates clojure.data.json to 0.1.2 (performance)
Adds multi-version testing against Clojure 1.2.1 / 1.4.0-beta1 and
changes default dependency to Clojure 1.3.0
Numerous documentation fixes
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View --
On Fri, Feb 3, 2012 at 7:06 PM, AndyK andy.kri...@gmail.com wrote:
Is 1.4 supposed to be compatible with 1.3 and libraries written to
1.3?
The changes between 1.3 and 1.4 are a lot smaller than between 1.2 and
1.3, fortunately :)
For example, I've found some 1.2 libraries don't play nicely
On Wed, Feb 1, 2012 at 10:23 PM, R Daneel maspo...@gmail.com wrote:
it says that some of the old contrib.def moved to core.incubator, but
apparently not defalias. Can anyone tell me where it is now (or better yet:
how to answer that sort of question generically!)?
defalias did not get
On Tue, Jan 31, 2012 at 6:33 PM, kohyama yykohy...@gmail.com wrote:
If I want to use the contrib compiled against 1.3 with Leiningen, does
anyone know what entry I should specify at :dependencies in project.clj?
If you follow that link, you'll see the github repo that Allen
maintains and if you
1201 - 1300 of 1889 matches
Mail list logo