On Fri, Jul 8, 2011 at 2:19 AM, Lee Spector wrote:
> Certainly true, and this is one of the other reasons that I taught with
> Eclipse/CCW rather than an emacs setup last year. But with a well-configured
> modern emacs some of this can be ameliorated; e.g. there are Mac versions in
> which you
On Jul 8, 2011, at 1:19 AM, Ken Wesson wrote:
>
> If your programming experience lies elsewhere, or you're new to
> programming altogether, _insert something here_.
>
> The last one is maybe the trickiest. Best might be a good text editor
> for programming that isn't Emacs, combined with leining
On Fri, Jul 8, 2011 at 1:07 AM, Lee Spector wrote:
>
> On Jul 7, 2011, at 7:29 PM, Sean Corfield wrote:
>> And yet the #1 "FAQ" we see on lists and reflected in blog posts is
>> about getting Clojure up and running... We see Java developers,
>> committed to their favorite IDE, still asking "Should
On Fri, Jul 8, 2011 at 1:06 AM, David Nolen wrote:
> On Fri, Jul 8, 2011 at 1:00 AM, Ken Wesson wrote:
>>
>> > On Thu, Jul 7, 2011 at 11:21 PM, Ken Wesson wrote:
>> >> ... it won't use the protocol to cache the result. Making it do so,
>> >> however,
>> >> would cause problems if one had (seqabl
On Jul 7, 2011, at 7:29 PM, Sean Corfield wrote:
> And yet the #1 "FAQ" we see on lists and reflected in blog posts is
> about getting Clojure up and running... We see Java developers,
> committed to their favorite IDE, still asking "Should I install /
> learn Emacs?" We see old-time Lispers, happ
On Fri, Jul 8, 2011 at 1:00 AM, Ken Wesson wrote:
> > On Thu, Jul 7, 2011 at 11:21 PM, Ken Wesson wrote:
> >> ... it won't use the protocol to cache the result. Making it do so,
> however,
> >> would cause problems if one had (seqable? some-foo) and later attempted
> >> to extend the protocol to
On Fri, Jul 8, 2011 at 12:58 AM, David Nolen wrote:
> (extend-type Object
> ISeqable
> (seqable? [x]
> (let [c (.getClass x)]
> (if (.isArray c)
> (do
> (extend-type (.getClass x)
> ISeqable
> (seqa
On Thu, Jul 7, 2011 at 11:21 PM, Ken Wesson wrote:
> Interesting, but there is still going to be a performance issue for
> the perhaps-common case of testing a non-seqable for seqability: in
> that case, it will do the reflective check for isArray and it won't
> use the protocol to cache the resu
On Thu, Jul 7, 2011 at 6:00 PM, David Nolen wrote:
> On Thu, Jul 7, 2011 at 5:14 PM, Ken Wesson wrote:
>>
>> (defn array? [x] (and x (contains? (set (.getName (.getClass x))) \[)))
>>
>> (defn seqable? [x]
>> (or
>> (coll? x)
>> (nil? x)
>> (instance? java.util.Collection x)
>> (inst
On Thu, Jul 7, 2011 at 2:45 AM, Feng Shen 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
https://github.com/tcrayford/clojure-
On Thu, Jul 7, 2011 at 2:37 PM, Meikel Brandmeyer wrote:
> I'm always bewildered by this argument. What has a newbie to choose here? Of
> course he uses what he's used to. Many Java devs probably want one of the
> IDEs they already know. Old-time Lispers use emacs.
And yet the #1 "FAQ" we see o
A couple ideas:
1.) I used to do something simple: (map (juxt :name :arglists :doc) (map #(meta
(second %)) (ns-publics 'clojure.core)))
I'd then take that output and use hiccup to make a big html file that I could
then print. You could pdf-ize that easily.
2.) http://tomfaulhaber.github.com/au
> I'm always bewildered by this argument. What has a newbie to choose here? Of
> course he uses what he's used to. Many Java devs probably want one of the
> IDEs they already know. Old-time Lispers use emacs.
I think it's a question of style and how to present the information
(which is why it wo
On Thu, Jul 7, 2011 at 5:14 PM, Ken Wesson wrote:
> (defn array? [x] (and x (contains? (set (.getName (.getClass x))) \[)))
>
> (defn seqable? [x]
> (or
>(coll? x)
>(nil? x)
>(instance? java.util.Collection x)
>(instance? java.util.Map x)
>(instance? java.util.Set x)
>(st
Hi,
Am 07.07.2011 um 21:54 schrieb Sean Corfield:
> I think one sticking point here is that there are (so far) seven
> IDEs/editors listed and five build tools. For a n00b, that's too much
> choice.
I'm always bewildered by this argument. What has a newbie to choose here? Of
course he uses what
Thank you for the explanations. I saw sequential in an example out on
the web. At first, I thought it had something to do with the ordering
of a sequence's elements.
cmn
On Jul 7, 5:22 pm, Mark Rathwell wrote:
> What it means exactly is that there is an interface called Sequential
> (defined
>
Is there a printer-friendly version of the Clojure API?
http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/identity
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note t
Salut Christophe,
Am 02.07.2011 um 22:07 schrieb Christophe Grand:
> my 2 cents,
Understatement!
Thank you for the clarifications. I wrote them up with an example (hopefully)
illustrating the issue. http://bit.ly/nOHgle
Cordialement
Meikel
--
You received this message because you are subscr
What it means exactly is that there is an interface called Sequential
(defined in
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Sequential.java)
that some other interfaces and abstract classes implement or extend, and
some clojure data structures that you use implement or exte
On Thu, Jul 7, 2011 at 4:48 PM, octopusgrabbus wrote:
> What does this mean exactly?
>
> sequential?
> function
>
> Usage: (sequential? coll)
>
> Returns true if coll implements Sequential
>
> from
> http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/sequential
Seems to test fo
On Jul 7, 8:35 pm, nchubrich wrote
> > someone whose name I can't remember right now
> > once said, "There are no bad students, only bad teachers."
There are three good books already and more on the way (I look forward
to Clojure in Action later this month), there are excellent videos on
bli
What does this mean exactly?
sequential?
function
Usage: (sequential? coll)
Returns true if coll implements Sequential
from
http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/sequential
--
You received this message because you are subscribed to the Google
Groups "Clojure" g
Many thanks.
I've clearly got to get better acquainted with various functions.
On Jul 7, 4:30 pm, Allen Johnson wrote:
> On Thu, Jul 7, 2011 at 4:27 PM, octopusgrabbus
> wrote:
> > This code
>
> > (defn ret-odd
> > [seq-val]
> > (if (not (nil? seq-val))
> > (if (odd? seq-val)
> > seq-
On Thu, Jul 7, 2011 at 4:27 PM, octopusgrabbus wrote:
> This code
>
> (defn ret-odd
> [seq-val]
> (if (not (nil? seq-val))
> (if (odd? seq-val)
> seq-val)))
>
> (def my-seq '(1 2 3 4 5 6 7 8 9))
>
> (map ret-odd my-seq)
>
> finds the odd numbers, but also returns nil. How do I find just
This code
(defn ret-odd
[seq-val]
(if (not (nil? seq-val))
(if (odd? seq-val)
seq-val)))
(def my-seq '(1 2 3 4 5 6 7 8 9))
(map ret-odd my-seq)
finds the odd numbers, but also returns nil. How do I find just the
odd numbers?
Thanks.
cmn
--
You received this message because you
Stu---
Thanks for the links. I took a look at clojure dev and signed up. I
don't see any way to editdoes that happen after I mail in the
Contributor agreement? It does seem a little medieval to have to mail
it in.
Clojure dev though doesn't seem like such a direct way of improving
clojure.
On Jul 7, 8:03 pm, logan wrote:
>
> This poisonous attitude is perfectly exemplified in this thread by
> James Keats.
I completely disagree with your mis-characterization and invite you to
read again what I had maintained:
- I had implored that technical arguments alone should decide
technical
On Thu, Jul 7, 2011 at 6:12 AM, Stuart Halloway
wrote:
> (1) Edit and improve the official
> docs: http://dev.clojure.org/display/doc/Getting+Started
I think one sticking point here is that there are (so far) seven
IDEs/editors listed and five build tools. For a n00b, that's too much
choice. Ther
Thank you, Logan, you put it very well. You're absolutely right there
can be an inherent instinct against user-friendliness in open-source
software, as well as a kind of hierarchyand you've identified the
source and nature of it, I think. The response to this is not to try
to become commercia
I think Yegge clarified in a follow-up post that what he really meant
to say was "say yes to USERS", not "say yes to FEATURES", but in his
typical off-the-cuff ranty writing style, he had accidentally
conflated the two.
As far as saying yes to every feature, I think that is obviously not a
great i
emacs24 should be installed. My suggestion would be to delete the vm
and restart. Perhaps not having putty broke the initial install? If it
breaks, please send the full output of the console with what is
broken.
-justin
On Thu, Jul 7, 2011 at 9:30 AM, nil wrote:
> Setting up PuTTY and the vagra
Setting up PuTTY and the vagrant.ppk file (according to the page you
mentioned) helps. PuTTY successfully gives me a vagrant@natty session
*but* "vagrant ssh" doesn't behave any differently -- so I can't tell
if this is fine or if I'm missing something.
Also, if I type emacs at the prompt, I get t
This gives me a reason to try Heroku!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscrib
On Jul 6, 2011, at 10:06 PM, nchubrich wrote:
> And as to improving
> documentation, how is one to go about doing it? This would be an
> excellent area to have some community effort on, especially from
> relative beginners, and that is an itch I would not mind scratching.
Stuart Halloway respo
> For instance, a little while ago I was corresponding with someone who
> had released a patch to Clojure. (This was Alyssa Kwan, in case you
> want to look up the thread.) Her patch made refs persistent to
> disksomething that seemed very much in the spirit of Clojure.
> Dealing with disk pe
On Jul 7, 8:09 am, nchubrich wrote
>
> (As for Steve Yeggeis he reading all this?if he's totally
> wrong, then of course people should feel free to disagree with him,
> and forget about the consequences. But if he happens to be \right,
> and I do think he mostly is, then making basicall
On Jul 7, 6:42 am, nchubrich wrote:
> I'll try :) It was really a polemical post for a polemical thread,
> but my main points can be extracted here. Feel free to read as many
> or as few of them as you are inclined
nchubrich, I've read your original post in its entirely, so forgive me
for not
I've been busy optimizing core.logic so I haven't been actively working on
this. However I did get some basic bits working here:
https://github.com/swannodette/match/blob/master/src/match/core.clj
You can see that columns are selected by necessity. It's promising though
there's quite a bit more t
On Thu, Jul 7, 2011 at 1:42 AM, nchubrich wrote:
> ...
>
> * It also can do a better job of attracting and retaining core
> contributors. I cited an example of someone who posted a patch to
> make refs persistent. She ended up being ignored, and left for
> Erlang. But Clojure needs people like
> It may be that I am really talking about the website (clojure.org, not
> any of the auxiliary ones, which are a bit of a mess in themselves)
> more than the language itself. If people receive the \right
> instructions, setting up Emacs/Leiningen/Web servers etc. is actually
> not so hard. The t
On Thu, Jul 7, 2011 at 7:42 AM, nchubrich wrote:
> * Since Lisp is highly extensible, in the long run being
> 'prescriptive' is a losing battle. It is better to eventually add
> standard 'bad' features to the language than to tempt third parties to
> do it in even worse and incompatible ways.
>
Our codebase is 6.8k kloc of production code, 4k of test code. We use
emacs, slime+swank to develop.
The editor is great, REPL is great. But lacking debuging and
refactoring support is a pain.
On Jul 3, 9:26 am, Mark Engelberg wrote:
> Ideally, I was hoping to start a more in-depth discussion ab
Antonio,
The only way I've found to scroll back in screen is to enter copy mode: ^A[
and then use vi-ish keystrokes to scroll up and down.
--
Eric Krohn
-Original Message-
From: Antonio Recio
Date: Wed, 6 Jul 2011 19:56:36 -0700 (PDT)
To: clojure@googlegroups.com
Subject: Re: I can
I'm interested too. Just sent in my CA from Australia, so hopefully
shouldn't be too long.
I think I looked through the essays briefly when this was first posted,
I coincidentally
am working through the The Art of the Metaobject Protocol right now.
+1 on an update please :)
Ambrose
On Thu, Jul 7
On 7 July 2011 09:10, Ken Wesson wrote:
> On Thu, Jul 7, 2011 at 2:47 AM, Tassilo Horn wrote:
>> Ken Wesson writes:
>>
>> Hi!
>>
Remove the question mark... or whatever this is...

and you'll be fine.
>>>
>>> Whatever WHAT is? There's nothing in your post there but thre
Oded,
If you look at the source of source .. you will notice that the source is
not stored in the meta information but it just picks up the filename and
line-number form the meta info of the function and reads the corresponding
files to obtain the source..
This would not be possible if you define
Thanks, the command you wrote indeed works, but I cant get it to work
for just 'some' function I defined in the repl.
Here's my repl transcript, let me know what I'm doing wrong
user=> (def f (let [a 5] (fn [x] (+ x a
#'user/f
user=> (f 6)
11
user=> (read-string (with-out-str (source f)))
Sour
Hi
I am new to both vagrant and ruby. I followed the steps in the readme up to
step 3 .. but after running "vagrant up" I get
/var/lib/gems/1.8/gems/vagrant-0.7.6/bin/vagrant:2:in `require': no such
file to load -- vagrant (LoadError)
from /var/lib/gems/1.8/gems/vagrant-0.7.6/bin/vagrant:2
can
On Thu, Jul 7, 2011 at 2:47 AM, Tassilo Horn wrote:
> Ken Wesson writes:
>
> Hi!
>
>>> Remove the question mark... or whatever this is...
>>>
>>> 
>>>
>>> and you'll be fine.
>>
>> Whatever WHAT is? There's nothing in your post there but three blank
>> lines.
>
> Sure there is! ;-)
>
> ,
> |
> I think we need to nail the intro / setup experience and I'm nailing
> my colors to Leiningen. I think that needs to be adopted as the
> default, standard way to get up and running on Clojure and all the
> official tutorials need to be updated to reflect that.
I think getting an experienced Clo
50 matches
Mail list logo