On Sat, Mar 24, 2012 at 1:44 AM, Cedric Greevey cgree...@gmail.com wrote:
On Sat, Mar 24, 2012 at 1:28 AM, Sean Corfield seancorfi...@gmail.com wrote:
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
- Auto-complete Ac-slime http://www.youtube.com/watch?v=kH0gOE7rj7g and
http://www.youtube.com/watch?v=dio__Qylp-s
- yasnippets
- clojure-refactoring
- align-cljlet http://www.youtube.com/watch?v=m_5Dldykckg
- define-function http://www.youtube.com/watch?v=D2s_d9gvNVI
Scott
On Thu, Mar 8, 2012
Very cool. If you think of other potential example errors this would be
capable of detecting it might be nice to include them in a TODO list in the
README. This might motivate someone to implement them or develop a nice
emacs UI for displaying these errors.
Scott
On Mon, Jan 2, 2012 at 4:14 AM,
Do you support this?
classic: ((foo bar) baz)
your syntax: foo(bar)(baz)
Scott
On Mon, Dec 26, 2011 at 1:09 PM, Louis Yu Lu louisy...@gmail.com wrote:
Recently, I found freedom of coding playing with Clojure with over 20
years’ experience on other program languages, Previously, I had
Scheme style macros in Clojure: https://github.com/qbg/syntax-rules
Scott
On Sat, Dec 3, 2011 at 1:20 PM, Razvan Rotaru razvan.rot...@gmail.comwrote:
Hi everyone,
I was searching the web these days trying to find out more about these
two macro systems and understand their differences, and
On Mon, Nov 7, 2011 at 4:27 AM, Dennis Haupt d.haup...@googlemail.comwrote:
Am 07.11.2011 10:18, schrieb Dennis Haupt:
In his code I did notice he doesn't use destructing very much.
where would that have been useful?
defn x [{:keys [foo bar]} param]
instead of
defn x [param]
On Mon, Nov 7, 2011 at 8:33 AM, Dennis Haupt d.haup...@googlemail.comwrote:
Am 07.11.2011 14:02, schrieb Scott Jaderholm:
On Mon, Nov 7, 2011 at 4:27 AM, Dennis Haupt d.haup...@googlemail.com
mailto:d.haup...@googlemail.com wrote:
Am 07.11.2011 10:18, schrieb Dennis Haupt
On Sun, Nov 6, 2011 at 11:33 AM, Milton Silva milton...@gmail.com wrote:
On Nov 5, 12:16 pm, Dennis Haupt d.haup...@googlemail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
i'm half done with my asteroids clone. i stumbled over a few problems
and wanted to know how
There is a load-file function in clojurescript, I'm guessing that doesn't do
what you want?
Scott
On Thu, Oct 20, 2011 at 1:07 PM, Dave Sann daves...@gmail.com wrote:
Thinking further, the capability would not be of use (to me) if it were not
consistent/indistinguishable across clojure and
In the past they've been posted on infoq.com several months later.
Scott
On Fri, Sep 30, 2011 at 1:24 PM, Felix Filozov ffilo...@gmail.com wrote:
Do you know if videos will be available?
On Friday, September 30, 2011, faenvie fanny.aen...@gmx.de wrote:
hi clojure-users,
i ploughed
I don't think it looks for tools.jar specifically, it probably just uses the
classes in there so as long as they're on the classpath you should be fine.
I wouldn't worry about it unless you see an error saying it can't find some
classes that googling reveals are in tools.jar.
The README doesn't
While that still works, ritz is really where it's at for awesome debugging
clojure in emacs. It allows stepping and stuff with a nice UI.
https://github.com/pallet/ritz
Video (only for overview, follow instructions at url above)
http://www.youtube.com/watch?v=d_L51ID36w4
One of my favorite
(defn alert [ xs] (js/alert (apply str xs)))
works in cljsc compiled code but not in the browser repl. There I get
ClojureScript:cljs.user (defn alert [ xs] (js/alert (apply str xs)))
#function (var_args){
var xs = null;
if (goog.isDef(var_args)) {
xs =
I haven't read the code yet but I have a few questions:
Do you miss backbone.js? Are you going to use it with cljs?
Have you shared any code between the frontend and backend? As in run the
same functions on both sides. If so, are you duplicating the code in both
.clj and .cljs or doing something
On Mon, Jul 25, 2011 at 4:02 AM, Sam Aaron samaa...@gmail.com wrote:
Also, with respect to the lack of ability to interact with the browser
directly through the REPL or editor like with emacs-swank-slime, is it fair
to assume that this is just due to the current implementation being
On Thu, Jul 7, 2011 at 2:45 AM, Feng Shen shen...@gmail.com wrote:
But lacking debuging and
refactoring support is a pain.
In case you're not familiar with these (not saying they're full-featured):
https://github.com/pallet/ritz
http://www.youtube.com/watch?v=d_L51ID36w4
In arrow.clj:
What is iarr an abbreviation for?
Perhaps a docstring on ||| would help, I'm having trouble understanding it.
Maybe add these examples, I found them helpful
((arr inc) 1)
;; 2
(( (arr inc) (arr dec)) 1)
;; 1
((flow (arr inc) (arr inc) (arr inc)) 1)
;; 4
((*** (arr inc)
(defmacro -f
like - but f is threaded at pos 0 instead of 1
([f] f)
([f x] `(~f ~x))
([f x more]
`(-f (~f ~x) ~@more)))
(-f m 2 2 1)
Scott
On Wed, Jun 29, 2011 at 7:00 PM, Antonio Recio amdx6...@gmail.com wrote:
Is there other way to express (((m2) 2) 1)?
(def m [1 2 [21 22
, Scott Jaderholm jaderh...@gmail.com wrote:
(defmacro -f
like - but f is threaded at pos 0 instead of 1
([f] f)
([f x] `(~f ~x))
([f x more]
`(-f (~f ~x) ~@more)))
(-f m 2 2 1)
Scott
On Wed, Jun 29, 2011 at 7:00 PM, Antonio Recio amdx6...@gmail.com wrote:
Is there other way
You mean in addition to Emacs right? Of course emacs with slime does this.
If you use autodoc then you don't even have to press space, the arglists
will update in the echo area as you move the cursor around source.
See http://www.youtube.com/watch?v=lf_xI3fZdIg
As for showing args of functions
, 2011, at 4:24 PM, Scott Jaderholm wrote:
You mean in addition to Emacs right? Of course emacs with slime does
this. If you use autodoc then you don't even have to press space, the
arglists will update in the echo area as you move the cursor around source.
See http://www.youtube.com/watch?v
if you follow the instructions on swank-clojure readme then yes I think you
get that.
Scott
On Mon, Jun 6, 2011 at 5:08 PM, Lee Spector lspec...@hampshire.edu wrote:
On Jun 6, 2011, at 4:58 PM, Scott Jaderholm wrote:
I don't know of a step by step guide that includes autodoc. You need
I'd be interested. This doesn't really scale though in the way a recording
does. Are you thinking this would give you a chance to practice teaching it
before making a recording?
Maybe post the slides so people can get an idea of what will be covered.
Also, maybe clarify whether this is free
On Wed, Feb 23, 2011 at 6:17 PM, James Reeves jree...@weavejester.comwrote:
I'm sure I've covered only a very small proportion of Clojure
libraries out there, so if you'd like to suggest a project that's not
on there, please do so in this thread, or in an email to me. I'll try
and update the
On Mon, Feb 14, 2011 at 7:21 PM, Jürgen Hötzel juer...@hoetzel.info wrote:
Hi,
Although Emacs is a great environment for writing Clojure code and
Leiningen/Cake makes Maven builds less painful, you still had to
switch from your Emacs environment to your web browser to search for
Maven
On Tue, Jan 4, 2011 at 9:10 PM, Eric Schulte schulte.e...@gmail.com wrote:
I wonder if anyone else has written any similar Emacs alignment rules
for Clojure which they would be interested in sharing?
Alignment rules for let and defroutes are at the top of my most wanted list.
(let [n
Hey Clojurians,
I don't think there are any great new movies in the theater this weekend so
if you're looking to kick back and relax and watch the tube a bit you might
checkout the first few episodes of my new screencast series on Clojure,
Emacs, Slime, etc.
http://youtube.com/emailataskcom
The
It's not specialized like your link, but I think you can use normal
debugging tools on macros:
(defmacro foo [a]
(swank.core/break)
`(list ~a))
And CDT for stepping.
Scott
On Tue, Nov 9, 2010 at 8:50 AM, Sunil S Nandihalli
sunil.nandiha...@gmail.com wrote:
Hello everybody,
Today I
Slice is an experimental not-production-ready web library for writing and
composing snippets of html, css, and js that are written in Clojure.
The motivation is that I wanted the html, css, and js for a slice of a
webpage to be next to each other in the source, not in three separate files,
and
This sounds like a problem with emacs server/client that might be unrelated
to Clojure or Slime. Some configurations of emacs will start a server mode
so that you can run emacsclient and have a new frame pop up instantaneously.
If you don't need emacsclient then you might look in the clojure box
On Sat, Oct 30, 2010 at 12:09 AM, David Nolen dnolen.li...@gmail.comwrote:
More interesting would be something along the lines of CoffeeScript (like
ClojureScript) that takes a reasonable subset Clojure and compiles into
efficient JS, allowing Clojure programmers to send Clojure code to
Works for me in repl. I have too much slime/clojure customization code, not
really sure what does what :)
Maybe this:
(defun slime-clojure-repl-setup ()
(when (string-equal clojure (slime-connection-name))
(message Setting up repl for clojure)
(when (slime-inferior-process)
Very nice. I really love the docs. Covers how to use almost everything with
plenty of example code and short descriptions.
I like variadic args, type hints.
Doesn't cover how to test a handler (from code) and see response.
Maybe move query-string request docs up to where query-string params
On Sat, Oct 2, 2010 at 6:36 PM, Michael Ossareh ossa...@gmail.com wrote:
What is the recommended manner in which to let your application know its on
a dev machine?
I use an environment variable that determines which config (dev, production,
test) gets loaded.
APPNAME_CONFIG=development lein
swank.commands.basic (find-ns-definition 'clojure.set)
((clojure.set (:location (:zip
/home/scott/project/lib/clojure-1.2.0-master-20100813.160144-94.jar
clojure/set.clj) (:line 1) nil)))
Scott
On Wed, Sep 29, 2010 at 6:34 PM, Jeff Valk jv-li...@tx.rr.com wrote:
On Wed, 29 Sep 2010 at 15:18,
Hey guys,
I'm looking for one of the following more affordable sleeping options at
clojure-conj (Thu, Fri, and Sat nights):
1) Someone willing to gift or rent space for an air mattress in their room.
2) Someone with a king w/ sofa bed room willing to rent out the sofa bed.
3) Someone
Daniel,
If you install lein-search (http://clojars.org/lein-search or
http://github.com/Licenser/lein-search) you can do searches like that.
lein search mail
If you put it in ~/.lein/plugins it will work for all your lein projects and
you can even use it to add what you find to your project.clj
On Wed, Sep 8, 2010 at 7:30 AM, Mark Nutter manutte...@gmail.com wrote:
I seem to recall that 1.2 is using chunked lazy sequences for
performance reasons, and fib is a lazy sequence. I wonder if you'd
start seeing intermediate steps using (fib 20) instead of (fib 3)?
This fib doesn't look lazy
Why does c.c.trace give different output on 1.2 than it did on 1.1?
From
http://learnclojure.blogspot.com/2010/02/slime-2009-10-31-user-defn-fib-n-if-n-2.html
On 1.1
user (dotrace (fib) (fib 3))
TRACE t1880: (fib 3)
TRACE t1881: |(fib 2)
TRACE t1882: ||(fib 1)
TRACE t1882: ||
It's always bothered me that when inspecting a class in Slime the
method names are highlighted in the same color as public static int
etc. I think it makes it hard to see what methods are available.
I wrote this elisp that highlights the method names in a different color:
(add-hook
Clojurescript is the only thing I know of like scheme2js. There are a
couple parenscript like programs, the best being
http://github.com/arohner/scriptjure
Scott
On Thu, Jul 8, 2010 at 1:17 PM, Tim Robinson tim.blacks...@gmail.com wrote:
All I got from google was Clojurescript, but I'm
On Tue, Jul 6, 2010 at 3:24 PM, Greg g...@kinostudios.com wrote:
This would be most likely java interop, ie. -.
There the main arguments are 99% of the times the first or the last ones.
So - or - will work
OK, so what happens when one of the functions takes it in the front, and
the other
On Tue, Jul 6, 2010 at 3:37 PM, Scott Jaderholm jaderh...@gmail.com wrote:
On Tue, Jul 6, 2010 at 3:24 PM, Greg g...@kinostudios.com wrote:
This would be most likely java interop, ie. -.
There the main arguments are 99% of the times the first or the last
ones. So - or - will work
OK, so
Hi,
I created a library that provides unit conversion functions[1] for
several common units and allows you to define new units conversions
with a single equation.
The library does a few interesting things automatically:
First, if you define inches-to-feet, it will create feet-to-inches for you.
Thanks Phil! I just bought it and look forward to watching it this weekend.
Are you planning something more advanced?
On Fri, Apr 24, 2009 at 11:03 AM, Phil Hagelberg p...@hagelb.org wrote:
I'm proud to announce that the Functional Programming with Clojure
PeepCode screencast has just been
On Sat, Feb 7, 2009 at 8:16 AM, David Powell djpow...@djpowell.net wrote:
Newer versions of JDK 1.6, eg Update 11, have an application called
'jvisualvm' in the bin directory. It lets you attach to any running
Java process and it has a profiler that you can switch on at runtime.
If you're
using JDBC with MSSQL Express requires some extra setup.
On Dec 16, 3:49 pm, Scott Jaderholm jaderh...@gmail.com wrote:
I don't think that's a problem:
user (. Class (forName com.microsoft.sqlserver.jdbc.SQLServerDriver))
com.microsoft.sqlserver.jdbc.SQLServerDriver
On Tue, Dec 16, 2008
I don't think that's a problem:
user (. Class (forName com.microsoft.sqlserver.jdbc.SQLServerDriver))
com.microsoft.sqlserver.jdbc.SQLServerDriver
On Tue, Dec 16, 2008 at 12:21 PM, MikeM michael.messini...@invista.comwrote:
To make sure your driver is really on the classpath, try this from
48 matches
Mail list logo