Re: Refactoring tools

2013-03-22 Thread Daniel Glauser
I feel your pain, would love to see some Clojure refactorings. I had started working on the 1.3 branch of clojure-refactoring trying to bring it up to speed. I met with Tony (the original author of clojure-refactoring) and Phil H. at Clojure/West. Tony was very adamant that we ditch his code

Re: [clj-power] Improving visibility of clojure-doc.org

2013-02-27 Thread Daniel Glauser
I added a link to http://clojure-doc.org in both the group discussion and the about page for the Den of Clojure (http://www.meetup.com/denofclojure/). Sean (or anyone else for that matter) is there an easy way we can let the rest of the user group to lend a hand? Is there a better place to

Re: Can't use Clojure 1.5 with emacs and swank

2013-02-11 Thread Daniel Glauser
The momentum is definitely headed the nrepl direction but if you do want to get Clojure 1.5 working with slime/swank you can just bump the lein-swank plugin to the latest version, 1.4.5. I tried this tonight and played with some reducer code, everything seems to be working. Cheers, Daniel On

Re: `let` to automatically add metadata / fn names?

2013-02-08 Thread Daniel Glauser
This sounds like a great idea. I was working with some tests today and it would have been really useful to have some way to query the current function/execution context. Seems like passing that through all lets would go a long way, provided I'm reading this right. On Friday, February 8, 2013

Starting a new ClojureScript project, where to start?

2012-09-28 Thread Daniel Glauser
Hi folks, Where would you point someone if they wanted guidance starting a new ClojureScript project? I friend who's big into CoffeeScript/Backbone/Require and is looking to kick off a side project with ClojureScript. He's sold on Clojure but looking for some guidance. We checked out Pinot

Emacs: Optimize Imports?

2012-01-01 Thread Daniel Glauser
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

Re: Emacs: Optimize Imports?

2012-01-01 Thread Daniel Glauser
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

Re: Using Clojure on a Mac

2011-11-28 Thread Daniel Glauser
I recommend A and B, used to do C. That is install Clojure with Homebrew so you can quickly pull up a REPL to try things. To start the REPL you run clj as in /usr/local/bin/clj. I was expecting it to be called clojure and that threw me off a bit. When doing a project of any size whatsoever

contrib.duck-streams or contrib.io?

2011-11-24 Thread Daniel Glauser
Hello folks, I starting to do some simple file IO stuff with Clojure and was wondering which namespace was considered the best one to use, contrib.duck-streams on contrib.io? There seems to be a bit of overlap between the two and at least some of the functions with the same names have different

Re: cool compiler-project?

2010-08-23 Thread Daniel Glauser
I thought that much of the driver behind protocols and records were to support the Clojure-in-Clojure effort. Can anyone confirm? Thanks, Daniel On Aug 23, 3:59 am, nickikt nick...@gmail.com wrote: I think he talkes about automatic detection where memoization would be good for performence. I

Re: Is there an easier way to code this? Destructuring?

2010-07-30 Thread Daniel Glauser
this out as a separate function, but I think the most direct answer to your question is that you can bind the map entries in a destructuring  as if they were two-element vectors. (map (fn [[ingr quant]] (* (cost ingr) quant)) (cookbook drink)) Joe On Jul 28, 8:02 pm, Daniel Glauser danglau

Is there an easier way to code this? Destructuring?

2010-07-29 Thread Daniel Glauser
Hello folks, I'm working on some sample code and I have a feeling that there is an easier/more succinct way to code this. Any help or RTFM with a link is appreciated. Given: (def cookbook {:Coffee {:coffee 3, :sugar 1, :cream 1}, :Decaf-Coffee{:decaf 3, :sugar 1,

Broken Link in Clojure Contrib Docs

2010-06-08 Thread Daniel Glauser
Hello all, Not sure where to report this but I noticed a broken link when taking a look at the docs for sql in Clojure Contrib. http://richhickey.github.com/clojure-contrib/sql-api.html The link for Example code points here:

Examples of Clojure in production?

2010-04-19 Thread Daniel Glauser
I would like to start a thread about Clojure use in production. Who is using it? And for what? What kind of load do you have on the system in terms of approximate transactions per day? Would you mind if your example was featured in a presentation? About two months ago I agreed to defend

Re: help wanted: tests for c.c.io

2010-04-18 Thread Daniel Glauser
Hi Stuart, I would like to help as well. Just signed up for Clojure Dev and an Assembla account. I'll send in my CA tomorrow. id: danielglauser Thanks, Daniel On Apr 15, 1:10 pm, Stuart Halloway stuart.hallo...@gmail.com wrote: You are added. Thanks! I'll take a stab at it.    Can you