Chris Maier christopher.ma...@gmail.com writes:
(if window-system (set-exec-path-from-shell-PATH))
This was a huge help for me, but I had to replace the -i flag with
--login in order to fully replicate my path that I see in Terminal.
I have a few things set in /etc/paths.d (TeX, X11, and git,
On Fri, Dec 10, 2010 at 3:30 PM, Tim Visher tim.vis...@gmail.com wrote:
Because posting the link would make some modicum of sense…
http://blog.twonegatives.com/post/2168030248/kata
^_^
Awesome Tim! Thanks for taking the time to put that together!
-John
--
You received this message
Created http://dev.clojure.org/jira/browse/CLJ-690 for this. Thanks!
Stu
Ah, I'm embarassed for not trying it on the developer version earlier
-- I'm running 1.2. Since Clojure 1.3 changes the semantics of -
w.r.t. overflow, it succesffully catches this.
However, -' still has this bug as
On Sun, Dec 12, 2010 at 7:32 PM, Alec Battles alec.batt...@gmail.com wrote:
Because posting the link would make some modicum of sense…
http://blog.twonegatives.com/post/2168030248/kata
^_^
Excellent blog post.
I have yet to read Dave Thomas's book, though it's very high on my list.
One
That function is already written for you.
user= (def x (atom (with-meta [] {:foo 1})))
#'user/x
user= (meta @x)
{:foo 1}
user= (swap! x vary-meta assoc :bar 2)
[]
user= (meta @x)
{:bar 2, :foo 1}
On Dec 11, 2:36 pm, Ken Wesson kwess...@gmail.com wrote:
On Sat, Dec 11, 2010 at 5:24 PM, Meikel
See my reply to Ken. I recommend against writing swap-meta! in your
own code, except maybe as a shorthand for (swap! foo vary-meta);
certainly don't implement it from the ground up when the language
already gives you the function you want.
On Dec 12, 2:22 am, Alexander Yakushev
On Mon, Dec 13, 2010 at 3:27 PM, Alan a...@malloys.org wrote:
That function is already written for you.
user= (def x (atom (with-meta [] {:foo 1})))
#'user/x
user= (meta @x)
{:foo 1}
user= (swap! x vary-meta assoc :bar 2)
[]
user= (meta @x)
{:bar 2, :foo 1}
Not exactly. My swap-meta! is
Maybe clojure should adopt linux versioning scheme, where even numbers
are stable production clojure and odd numbers are development branch ?
On Dec 12, 7:09 pm, Stuart Halloway stuart.hallo...@gmail.com wrote:
Clojure 1.3 Alpha 2 is now available at
http://clojure.org/downloads
0
Hello everybody,
I found two libraries for complex numbers...One in apache.common.math and
the other in clojure-contrib but which clearly states that it is quiet
incomplete ... can anybody make a suggestion for a good alternative..
Thanks,
Sunil.
--
You received this message because you are
I really miss having complex numbers as native types... :(
On Tue, Dec 14, 2010 at 3:11 AM, Sunil S Nandihalli
sunil.nandiha...@gmail.com wrote:
Hello everybody,
I found two libraries for complex numbers...One in apache.common.math and
the other in clojure-contrib but which clearly states
On Sun, Dec 12, 2010 at 7:09 PM, Stuart Halloway
stuart.hallo...@gmail.com wrote:
Clojure 1.3 Alpha 2 is now available at
http://clojure.org/downloads
...and via Leiningen as:
[org.clojure/clojure 1.3.0-alpha4]
which leads me to ask:
Has there been any thought to making simultaneous
Hi,
Am 13.12.2010 um 21:42 schrieb Ken Wesson:
(Where did
you find vary-meta? There seems to be a lot of stuff that's there, but
hardly anyone knows about.)
http://clojure.github.com/clojure/
Hope that helps.
Sincerely
Meikel
--
You received this message because you are subscribed to the
Vagif Verdi vagif.ve...@gmail.com wrote:
Maybe clojure should adopt linux versioning scheme, where even numbers
are stable production clojure and odd numbers are development branch ?
Gods please no.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
You received this
On Mon, Dec 13, 2010 at 5:38 PM, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
Am 13.12.2010 um 21:42 schrieb Ken Wesson:
(Where did
you find vary-meta? There seems to be a lot of stuff that's there, but
hardly anyone knows about.)
http://clojure.github.com/clojure/
Hope that helps.
On Wed, Dec 8, 2010 at 02:16, Sam Aaron samaa...@gmail.com wrote:
The rollout of videos has already started:
http://twitter.com/clojure_conj/status/10324356836102144
Fogus' talk: http://clojure.blip.tv/file/4501296/
The synopsis says 30 minutes but it seems there may have been an issue in
I'm interested, can't provide much programming help in this area
tough. I could always help test it.
On Dec 12, 6:36 pm, Mike K mbk.li...@gmail.com wrote:
I really, really want ClojureCLR to play nice with emacs the way
Clojure does. I've looked at the swank-clojure sources, but I really
Hello Everybody,
I see that Konrad-Hinsen's complex-library in the contrib is a very good
fit.. But I am afraid about the performance since the basic operations are
being dispatched using multi-methods... Does anybody have any say on this?
Sunil.
On Tue, Dec 14, 2010 at 3:20 AM, Sunil S
On Mon, Dec 13, 2010 at 8:13 PM, Sunil S Nandihalli
sunil.nandiha...@gmail.com wrote:
Hello Everybody,
I see that Konrad-Hinsen's complex-library in the contrib is a very good
fit.. But I am afraid about the performance since the basic operations are
being dispatched using multi-methods...
Ok, I decided to nuke ports, fink, and delete every package they ever
installed. I successfully installed emacs 23.2 via homebrew (there's a
good overview of homebrew here
http://ascarter.net/2010/02/22/homebrew-for-os-x.html).
I started the emacs it installed, but I didn't know how to access
Thanks David .. but is there a protocol that contains +,*,/,- operations? If
there is one I can simply add those operations...
Sunil.
On Tue, Dec 14, 2010 at 7:07 AM, David Nolen dnolen.li...@gmail.com wrote:
On Mon, Dec 13, 2010 at 8:13 PM, Sunil S Nandihalli
sunil.nandiha...@gmail.com
Hello everybody,
I am defining a protocol which defines the functions +,-,*,/ .. so I am
excluding those symbols when I do :refer-clojure but I would like to give an
alias to say something like c+ c- c* and c/ how can I do this?
Thanks,
Sunil
--
You received this message because you are
It's not a protocol, but you may want to take a look at
clojure.contrib.generic.arithmetic for inspiration.
I wish you luck in your complex number implementation! I've done my
own using clojure.contrib.generic and can post if it anyone's
interested.
thanks,
--Robert McIntyre
On Mon, Dec 13,
you can always do
(def c+ clojure.core/+)
right after the namespace declaration.
--Robert McIntyre
On Mon, Dec 13, 2010 at 10:20 PM, Sunil S Nandihalli
sunil.nandiha...@gmail.com wrote:
Hello everybody,
I am defining a protocol which defines the functions +,-,*,/ .. so I am
excluding those
yeah cool I can do that.. thx. But I remember seeing a syntax for it in the
ns macro...
Sunil.
On Tue, Dec 14, 2010 at 8:54 AM, Robert McIntyre r...@mit.edu wrote:
you can always do
(def c+ clojure.core/+)
right after the namespace declaration.
--Robert McIntyre
On Mon, Dec 13, 2010 at
Robert would love to see your implementation.. The reason I am going for
protocols .. is performance...
Sunil.
On Tue, Dec 14, 2010 at 8:52 AM, Robert McIntyre r...@mit.edu wrote:
It's not a protocol, but you may want to take a look at
clojure.contrib.generic.arithmetic for inspiration.
I
here it is:
(defrecord imaginary [real complex])
(defmethod + [imaginary Number] [i r]
(imaginary. (+ (:real i) r) (:complex i)))
(defmethod + [Number imaginary] [r i]
(+ i r))
(defmethod + [imaginary imaginary] [i1 i2]
(imaginary. (+ (:real i1) (:real i2))
homebrew installs a mac application to:
/usr/local/Cellar/emacs/23.2/Emacs.app/
by default which you can run from there, or copy to your /Applications
folder to run. running from the terminal doesnt seem to work so well
in my experience.
On Mon, Dec 13, 2010 at 8:43 PM, javajosh
Aha! You're a genius!
On Dec 13, 8:06 pm, gaz jones gareth.e.jo...@gmail.com wrote:
homebrew installs a mac application to:
/usr/local/Cellar/emacs/23.2/Emacs.app/
by default which you can run from there, or copy to your /Applications
folder to run. running from the terminal doesnt seem to
On Dec 14, 2:27 am, Vagif Verdi vagif.ve...@gmail.com wrote:
Maybe clojure should adopt linux versioning scheme, where even numbers
are stable production clojure and odd numbers are development branch ?
AFAICT this will seriously affect Maven/Lein/Cake transitive
dependency management when
I don't know how applicable this might be for you, but I've had no
problems whatsoever checking out the latest source for emacs 23 and
compiling from source using the mac developer tools, all on my
friend's laptop. All I did was type make and cross my fingers.
you might give it 5 minutes if
On Dec 9, 11:11 pm, Andy Fingerhut andy.finger...@gmail.com wrote:
Follow the instructions on the ELPA page for installing it:
http://tromey.com/elpa/install.html
After you do M-x package-list-packages, go down the list of packages
until the cursor is on the line for the package
On Mon, Dec 13, 2010 at 8:27 PM, Robert McIntyre r...@mit.edu wrote:
I don't know how applicable this might be for you, but I've had no
problems whatsoever checking out the latest source for emacs 23 and
compiling from source using the mac developer tools, all on my
friend's laptop. All I did
On Dec 13, 8:51 pm, Phil Hagelberg p...@hagelb.org wrote:
If you check out the source for Emacs 24, it comes with package.el
already, so once it's released it will definitely be the lowest-hassle
way to get started. No need to worry about instability; I've been
following Emacs trunk since 2007
On Mon, Dec 13, 2010 at 9:10 PM, javajosh javaj...@gmail.com wrote:
But seriously, it looks like despite the SLIME error it installed, and
the lein stuff installed without a problem, so I have a pretty decent
environment. Phew, that was easy!
Yeah, though it's not so bad on OSes that have a
On 13 Dec 2010, at 22:41, Sunil S Nandihalli wrote:
I found two libraries for complex numbers...One in
apache.common.math and the other in clojure-contrib but which
clearly states that it is quiet incomplete ... can anybody make a
suggestion for a good alternative..
The one in
On 14 Dec 2010, at 04:22, Robert McIntyre wrote:
It's not a protocol, but you may want to take a look at
clojure.contrib.generic.arithmetic for inspiration.
I wish you luck in your complex number implementation! I've done my
own using clojure.contrib.generic and can post if it anyone's
36 matches
Mail list logo