On Dec 17, 2013, at 6:01 AM, Cedric Greevey wrote:
Calling emacs incidental complexity is like calling the North Pole a bit
nippy this time of year. :)
The thing is, it's actually possible to have the power of emacs without the
incidental complexity of currently available emacs versions.
On Dec 17, 2013, at 8:24 AM, Tim Visher wrote:
On Tue, Dec 17, 2013 at 8:21 AM, Lee Spector lspec...@hampshire.edu wrote:
On Dec 17, 2013, at 6:01 AM, Cedric Greevey wrote:
Calling emacs incidental complexity is like calling the North Pole a bit
nippy this time of year. :)
The thing
When I step through a zipper made from a nested list via seq-zip, I get
extraneous nils after processing a nested ().
Is this somehow expected behavior, or a bug, or am I misunderstanding something
fundamental?
The problem seems to arise only when an nested empty list is present, not other
On Dec 21, 2013, at 11:49 AM, Lee Spector wrote:
When I step through a zipper made from a nested list via seq-zip, I get
extraneous nils after processing a nested ().
Is this somehow expected behavior, or a bug, or am I misunderstanding
something fundamental?
The problem seems
On Dec 22, 2013, at 12:02 PM, Micha Niskin wrote:
Also, what about this:
(loop [z (zip/seq-zip '((nil) 0))]
(if (zip/end? z)
:done
(do (println (zip/node z))
(recur (zip/next z)
Which produces:
((nil) 0)
(nil)
nil
0
:done
I think that's actually fine.
On Dec 23, 2013, at 3:40 AM, Cedric Greevey wrote:
On Sun, Dec 22, 2013 at 12:26 PM, Lee Spector lspec...@hampshire.edu wrote:
The issue I was rasing is that, when traversing '(() 0) with zip/next, one
should first visit the root, then (), and then 0. But what actually happens
On Dec 27, 2013, at 10:53 PM, Alex Baranosky wrote:
I always hear people say that the errors are bad, but I just don't see it.
The stacktraces say exactly what went wrong and at what line of the source.
To me that's all I can hope for.
One can hope to see the values of locals, which for me
On Dec 27, 2013, at 11:18 PM, guns wrote:
I personally use the following macro from my user.clj:
(defmacro dump-locals []
`(clojure.pprint/pprint
~(into {} (map (fn [l] [`'~l l]) (reverse (keys env))
It's not the automatic break-on-exception-and-start-local-repl of CL +
On Dec 27, 2013, at 11:33 PM, guns wrote:
On Fri 27 Dec 2013 at 11:23:22PM -0500, Lee Spector wrote:
On Dec 27, 2013, at 11:18 PM, guns wrote:
(defmacro dump-locals [] ...
`
When and where do you call this?
I call this inside of the closest function that raised the exception.
Ah, so
On Dec 28, 2013, at 11:27 AM, Cedric Greevey wrote:
It helps to go with the functional, immutable flow, in which case if you
get an unwanted exception it should *usually* have bubbled up from some
failing test. Add a dump-locals where suggested by the stack trace and rerun
the failing
On Dec 28, 2013, at 2:56 PM, Cedric Greevey wrote:
Your requirements are unusual.
That being said, you might want to consider:
1. Using a PRNG with recordable seed, and sane concurrency semantics, to
achieve repeatability -- rerun with same seed to get identical replay of
events.
2.
On Dec 28, 2013, at 3:11 PM, Cedric Greevey wrote:
Adding to the above, in the specific context of genetic programming, I'd
suggest dividing the population into N subsets, one per core, and trialling
them in parallel to generate fitness scores; then parallel-mergesort to get a
ranked
On Dec 28, 2013, at 4:46 PM, Cedric Greevey wrote:
Eh, the above should just parallelize working with a single big population.
It's not partitioned as far as making-the-cut is concerned, nor crossover
(given that each thread adds its M crossover-generated entities by reference
to the
On Dec 28, 2013, at 8:51 PM, Colin Fleming wrote:
Just out of interest (and I'm not trying to be combative here, I'm genuinely
curious) - it seems from many of your posts here that this is a serious pain
point for you. Why not just use another lisp? High-performance numeric
programming
the crux of the issue [slightly edited and recombined] below.
Thanks,
-Lee
On Dec 21, 2013, at 11:49 AM, Lee Spector wrote:
When I step through a zipper made from a nested list via seq-zip, I get
extraneous nils after processing a nested ().
Is this somehow expected behavior, or a bug
On Dec 31, 2013, at 5:08 PM, Armando Blancas wrote:
The implementation of seq-zip uses seq? as its branching predicate. As a
result the zipper goes down on () thinking it can have children:
user= (seq? ())
true
user= (seq? {})
false
user= (seq? #{})
false
user= (seq? [])
false
Does
On Dec 31, 2013, at 6:53 PM, Michał Marczyk wrote:
Ticket with patch at
http://dev.clojure.org/jira/browse/CLJ-1317
[and]
Oh, and of course you can use the amended version now to obtain the
expected results: ///
Thank you so much Michał!
-Lee
--
--
You received this message because
On Jan 8, 2014, at 3:49 PM, Benjamin Yu wrote:
Grats! I love the pain points that light table solves for me.
The inline documentation is pretty great once I discovered how to invoke it
(which took a while... and while I really love a lot of the ideas in LightTable
I have to say that it
On Jan 8, 2014, at 3:58 PM, Lee Spector wrote:
The inline documentation is pretty great once I discovered how to invoke it
(which took a while... and while I really love a lot of the ideas in
LightTable I have to say that it always takes me a while to figure out how to
do basic things
On Jan 8, 2014, at 4:04 PM, Lee Spector wrote:
Also, any way to see a stack trace after an exception?
(.printStackTrace *e) doesn't do it.
Ah -- sorry to be writing so quickly. I've discovered that clicking on the
exception appears to give a stack trace. Nice! (But again, wasn't obvious
On Jan 8, 2014, at 5:45 PM, Jamie Brandon wrote:
You can disable the bracket insertion by disabling the keys that
trigger it. Add this to your user.keymap:
:- {:editor.keys.normal {\ [(:editor.repeat-pair \)]
( [(:editor.open-pair ()]
)
On Jan 8, 2014, at 8:50 PM, Sean Corfield wrote:
On Jan 8, 2014, at 3:38 PM, Lee Spector lspec...@hampshire.edu wrote:
FWIW my perspective (esp as a teacher of newbies) it'd be nice if there was
some sort of simple switch for this. It's sort of cumbersome to have to
discover this, find
Perhaps this is well known to others, but on the chance that maybe it isn't I
thought I'd share.
In clojure.walk both prewalk and postwalk use recursion in ways that will blow
the stack for sufficiently deep nested structures. We had been using them
happily until recently when things got too
On Jan 9, 2014, at 6:33 PM, Stuart Sierra wrote:
I wrote clojure.walk, but I don't usually recommend it for anything but
casual use.
clojure.walk very general, so it's not going to be the most efficient
approach. When you know more details about the data structure you're working
with,
On Feb 5, 2014, at 6:05 PM, Alex Miller wrote:
To override the default tiered compilation, add this to your project.clj:
:jvm-opts ^:replace []
I was under the impression that one can get the same effect by running your
program with:
lein trampoline with-profile production run [etc]
True?
On Feb 5, 2014, at 8:50 PM, Bruce Adams wrote:
Modern JVM's pick default heap sizes based on the physical memory in
your machine. With more than 1GB of physical memory, initial heap is
1/64 and maximum heap is 1/4 of physical memory.[1]
For OpenJDK and Oracle, this command:
java
On Feb 5, 2014, at 11:42 PM, Michał Marczyk wrote:
This returns
(.getTotalPhysicalMemorySize
(java.lang.management.ManagementFactory/getOperatingSystemMXBean))
You could use this in your project.clj, perhaps by including
~(str -Xms (quot (.getTotalPhysicalMemorySize ...)
Does anyone know what to put in :jvm-opts in project.clj to use the G1 garbage
collector? I see a lot about how G1 works and how to configure it in web search
results, but not this little nugget of info.
Also, if anyone has any advice about GC for my use case I'd love to hear it. My
use case
On Feb 7, 2014, at 11:35 AM, Gary Trakhman wrote:
I do it like this:
in my .bashrc
export JVM_OPTS=-XX:+UseG1GC
export LEIN_JVM_OPTS=-XX:+UseG1GC
You can verify that it's working by checking jvisualvm's view of the jvm-opts
on the relevant processes. Running it system-wide has
On Feb 7, 2014, at 11:41 AM, Laurent PETIT wrote:
What if you put -XX:+UseG1GC in :jvm-opts ?
Ah yes -- I should have seen that even though I may not want to take Gary's
suggestion of putting it in .bashrc, he had given me the magic string to
include in :jvm-opts too!
I will give that a try.
On Feb 7, 2014, at 11:45 AM, Andy Fingerhut wrote:
You may also use a let form wrapped around your entire defproject if you want
to avoid the duplication of code present in your example.
Thanks -- I actually noticed that after I posted. I don't know why, but I never
thought of project.clj as
Can anyone point to Clojure code for detecting when two 3d shapes overlap, when
given the [x y z] vertices of the two shapes?
The specific case I care about will always involve two regular tetrahedra (each
of which is specified by 4 vertices), which may allow for special
simplifications or
On Feb 15, 2014, at 11:49 AM, Karsten Schmidt wrote:
Hi Lee, I've already implemented the algorithm described in this paper
and it will be part of my upcoming geometry library. To not keep you
waiting for the release, I've extracted the relevant code and put up
here:
On Feb 16, 2014, at 5:07 PM, Karsten Schmidt wrote:
Yer welcome please do let me know how this works out for you! I've
updated the gist[1] to delay more parts of the whole computation and
replace most occurrences of `reduce` with `loop` - altogether leading
to an almost 2x faster result for
FWIW I'm not crazy about these suggestions because they seem to me to be mostly
cosmetic, and actually negative if they end up leading to multiple incompatible
modes of operation. The Processing model seems to me to be intrinsically
imperative, and it's also well-known by lots of people and
A little thing but I use it in when teaching Clojure to newbies and maybe it'll
be useful for others:
https://github.com/lspector/clojinc/blob/master/src/clojinc/core.clj
-Lee
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
On Mar 31, 2014, at 1:27 PM, A. Webb a.webb@gmail.com wrote:
If you are working with quoted expressions, you'll have to eval in the macro
and take the one-time hit there
(defmacro functionalise2
[ex var]
(let [arg (gensym)
body (clojure.walk/postwalk-replace {var arg}
On Mar 31, 2014, at 5:59 PM, François Rey fmj...@gmail.com wrote:
Forget that, my code does not work with 'z too, obviously.
Too late, time to go to bed for me
But my code *does* work with 'z as long as z is also the variable used in the
expression, which is what I assume was intended:
On Apr 5, 2014, at 8:51 PM, Jason Felice jason.m.fel...@gmail.com wrote:
I focus on expressivity, specifically because of the write-only phenomenom.
This isn't peculiar to clojure; this happened a lot in the Perl days (so much
so, that that's where I remember write-only code being coined).
On Apr 16, 2014, at 10:48 PM, Mikera mike.r.anderson...@gmail.com wrote:
On Thursday, 17 April 2014 03:57:56 UTC+8, Mike Haney wrote:
The conventional wisdom seems to be that you will end up learning emacs
eventually if you spend any amount of time doing clojure or lisp, so you
might as
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
Check out Genetic Programming and Evolvable Machines:
http
@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Lee Spector, Professor
:
On 28 February 2010 21:38, Lee Spector lspec...@hampshire.edu wrote:
[...]
- When I run clj (from the most recent ClojureX) on the command line with -i
and a source file it runs the file but then hangs. If I also specify -r then
I get a REPL after the file runs, which is nice, but I was hoping
28, 2010, at 10:45 PM, Terje Norderhaug wrote:
On Feb 28, 2010, at 11:38 AM, Lee Spector wrote:
On the development environment front: Is anyone contemplating creating a Mac
OS X Clojure in a Box? I would be an enthusiastic user. If it could have
roughly the feature set of the old Macintosh
appreciate any advice or pointers
that you can provide.
Thanks,
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559
for your patience in reading this. I'd appreciate any feedback on any
parts of it.
And in spite of the problems listed above I'm having a great time in the
Clojureverse!
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street
, at 2:04 PM, Terje Norderhaug wrote:
On Mar 17, 2010, at 8:14 AM, Lee Spector wrote:
The root problem is that I think I have an infinite loop somewhere in my
code and I'm having a hard time tracking it down. [...] In Common Lisp I
would wait until I think I'm in trouble, break execution
be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893
, send email to
clojure+unsubscribegooglegroups.com or reply to this email with the words
REMOVE ME as the subject.
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu
as the subject.
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
Check out Genetic Programming and Evolvable Machines:
http
email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
To unsubscribe from this group, send email to
clojure+unsubscribegooglegroups.com or reply to this email with the words
REMOVE ME as the subject.
--
Lee
+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
To unsubscribe from this group, send email to
clojure+unsubscribegooglegroups.com or reply to this email with the words
REMOVE ME as the subject.
--
Lee Spector, Professor of Computer
/clojure?hl=en
To unsubscribe from this group, send email to
clojure+unsubscribegooglegroups.com or reply to this email with the words
REMOVE ME as the subject.
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
by scrambling the clock?). But I would hope there would be something simpler.
Thanks,
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413
[]
(dosync (commute rand-seq-ref next) (first @rand-seq-ref)))
user= (next-random-val)
0.5558267606843464
user= (next-random-val)
0.32353157456467474
Cheers,
Andrzej
On Fri, Mar 26, 2010 at 11:35 AM, Lee Spector
lspec...@hampshire.edu wrote:
I'm trying to track down the reason
+of+Clojure%27s+binding
On a very minor note, these forms are more syntactically idiomatic:
(java.util.Random.)
(.nextFloat random-state)
(.nextInt random-state n)
Cheers,
- Chas
On Mar 26, 2010, at 8:14 AM, Lee Spector wrote:
Thanks all for the quick and helpful responses on the issues
)))
user= (next-random-val)
0.5558267606843464
user= (next-random-val)
0.32353157456467474
Cheers,
Andrzej
On Fri, Mar 26, 2010 at 11:35 AM, Lee Spector
lspec...@hampshire.edu wrote:
I'm trying to track down the reason that I sometimes see a lot of
concurrency in my system (up
is tripping you up.
If you can post/paste code, that might help, too.
- Chas
On Mar 27, 2010, at 12:13 AM, Lee Spector wrote:
Is it possible that multiple threads all furiously generating list
structure would have some sort of contention for the memory allocation
state?
My losses
to
clojure+unsubscribegooglegroups.com or reply to this email with the words
REMOVE ME as the subject.
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413
post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA
...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
To unsubscribe, reply using remove me as the subject.
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu
me as the subject.
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
Check out Genetic Programming and Evolvable Machines
this problem).
Any comments would be greatly appreciated.
Thanks,
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
.
On Apr 29, 2010, at 8:50 AM, Timothy Pratley wrote:
Hi Lee,
On 29 April 2010 22:31, Lee Spector lspec...@hampshire.edu wrote:
The error that I get is:
Caused by: java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Random.java:250)
Hopefully
), even if n is a bignum?
- If there's a reason that rand-int shouldn't do this then is there another
straightforward way get the same effect, maybe with some java library that I
don't know about?
Thanks,
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire
generator.
-Lee
On Apr 30, 2010, at 10:56 PM, Lee Spector wrote:
In an earlier thread, in which I learned (from Timothy Pratley) that (. (new
java.util.Random) X) gives an error if X is a bignum, I said that at least
Clojure's rand-int does the right thing.
Upon further
-api.html#clojure.walk/postwalk-replace
Greetings.
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
Check out Genetic
are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Lee Spector, Professor of Computer Science
School of Cognitive Science
/418631
I'd appreciate it if anybody could
a. point out any problems with my code that might be hurting
performance
b. try this out on your own 3+ core machine and see if you have better
results
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
.
-
And then I'm stuck. Is there a simple way to take care of this?
Thanks,
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559
the license of each project allows you to distribute the
compatible versions together via your class's website or CDs that you hand
out in class, etc.
On Wed, Jun 16, 2010 at 6:05 PM, Lee Spector lspec...@hampshire.edu wrote:
I'm using NetBeans 6.9, which is just what happened
email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http
question: aren't there often cases
like this where one wants to temporarily rebind something, but across all
children threads? Is there some straightforward way to do this that I've
missed?
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West
that.
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
Check out Genetic Programming and Evolvable Machines:
http
course under their belts but possibly none in
Java), is NetBeans with Enclojure.
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352
to run code, and a way to handle classpaths or at
least simple instructions about where to put things so that they will be found)
would open the door to a certain class of newbies that includes me and a fair
number of students.
-Lee
--
Lee Spector, Professor of Computer Science
School
to
documentation would also be highly desirable, but not essential.
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
at hard and quickly escalates to
painful.
Oh yeah, I agree. I should have listed paren-matching too. But for me
indentation is also in the essential category.
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone
of users to get started with
less effort.
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
Check out Genetic
/clojure?hl=en
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
Check out Genetic Programming and Evolvable Machines
. Put the waterwings on the kid, but then throw him in the
deep end. If he can't swim, he isn't ready for macros anyway.
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http
directory?
-Lee
On Jun 28, 2010, at 11:23 PM, Brent Millare wrote:
On Jun 28, 6:34 pm, Lee Spector lspec...@hampshire.edu wrote:
Speaking for me only: Let a million IDEs bloom.
I'm just expressing my interest in there being at least one that allows new
users to download/install/edit/run code
What TextMate clojure bundle instructions do you use? I've tried to play with
this but the installations haven't worked as advertised.
On Jun 28, 2010, at 11:50 PM, Sean Corfield wrote:
TextMate has a Clojure bundle. I use it as my primary Clojure editor.
--
Lee Spector, Professor
the right stuff are available but
that the bundling/instructions could be made a little more clear for newcomers
in every case that I know of (each case maybe needing a slightly different
tweak).
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West
.
Thanks,
-Lee
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspec...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
Check out Genetic Programming and Evolvable Machines:
http
: the
namespace navigator, the clojure file outline, navigating from the
namespace navigator and the file containing the definition of the var,
etc.
And to be totally clear, no there is currently no history in the REPL,
that's planned on our TODO list. :-)
--
Laurent
2010/6/29 Lee Spector lspec
On Jan 29, 2013, at 5:28 PM, Rich Morin wrote:
This begs the question: what would be the lowest amount of friction that
we should try for? One answer, it seems to me, is that there should be
an easy way to add features _using Clojure_. I realize that this would
not be a general solution,
FYI we had a bit of a discussion about this at a meetup in Amherst MA
yesterday, and while I'm not sufficiently on top of the JVM or system issues to
have briefed everyone on all of the details there has been a little of followup
since the discussion, including results of some different
On Jan 31, 2013, at 10:15 AM, Chas Emerick wrote:
Then Wm. Josiah posted a full-application benchmark, which appears to
have entirely different performance problems from the synthetic `burn`
benchmark. I’d rejected GC as the cause for the slowdown there too, but
ATM can’t recall why or
On Feb 5, 2013, at 12:15 AM, Rich Morin wrote:
On Feb 4, 2013, at 19:49, deliminator wrote:
Long story short: want more people to love lisp?
Implement paredit for more editors.
+1!
-1
Just another data point and YMMV, but I've long loved Lisp and long hated
paredit. I do agree, however,
I think I have an idea of where your coming from. Leiningen does lots of
wonderful and important things but coming from the outside (or at least from
certain outsides) it's not even clear why you'd want to do a lot of those
things, and it doesn't do some of the things that seem most essential
On Feb 14, 2013, at 3:50 PM, Alex Walker wrote:
The easiest, when anything becomes a road block, is simply tryclj.com
combined with 4clojure.com.
Those two alone can give you enough to work with and chew on while you become
more familiar with clojure and setup a proper environment
On Feb 15, 2013, at 1:29 PM, Víctor M. V. wrote:
Jules:
between the current doc improvement for lein we're both participating in
(https://github.com/technomancy/leiningen/issues/1007) and the available doc
for CCW (installation is one step really), are there any pain points that
such a
On Feb 15, 2013, at 6:37 PM, Phil Hagelberg wrote:
There's really no reason (apart from a lack of motivated devs working on
it) that you'd have to choose between the two. As of Leiningen 2.x it's
possible to use Leiningen as a library, which is how CCW uses it. It
would be easy in theory
(str ())
clojure.lang.PersistentList$EmptyList@1
Is that intended? I expected it to give .
This happens in Clojure 1.3, 1.4, and 1.5.
-Lee
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
On Mar 3, 2013, at 9:39 PM, Softaddicts wrote:
Is (apply str '()) what you would want instead ?
Well, that does indeed produce , but for inputs other than () I do indeed
want to call str on it, not apply str to it (which would do something else that
I don't want).
So now I'm just checking
On Mar 3, 2013, at 10:26 PM, Mark Engelberg wrote:
I have gotten burned by this, you're not alone. (Although I would expect it
to produce (), not as you expected).
Similarly, I've had times where I called (str s) on a list, expecting it to
print like a list, but it turned out that s
On Mar 3, 2013, at 10:30 PM, Jack Moffitt wrote:
I know there have been some recent improvements surrounding reading and
writing data structures. Is there a way to just say, Convert this to a
string that corresponds to the way it prints at the REPL?
I think you're looking for pr-str. For
1 - 100 of 471 matches
Mail list logo