On Dec 2, 12:54 pm, Peter Wolf <[EMAIL PROTECTED]> wrote:
> Since the code doesn't exist yet, I'd have to say no... Like I said,
> I'm just getting started.
>
> How about I get the basic framework going so that IntelliJ knows about
> CLJ files, and say paren
On Dec 2, 2:39 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 2 Dez., 04:47, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > So why is the above form not legal in Clojure? I would think it might
> > come in handy to define
On Dec 1, 4:11 pm, Peter Wolf <[EMAIL PROTECTED]> wrote:
>
> Since I plan to introduce Clojure into existing large Java projects, I want
> to use a decent IDE. So I am writing a Clojure plugin for my favorite--
> IntelliJ. When I'm done I hope to offer a nice
don't know it
(defmacro conj-when [pred new & coll]
`(let [test# ~pred]
(if test#
(conj [EMAIL PROTECTED] ~new)
[EMAIL PROTECTED])))
and an example ...
(defn- syncPacket [r]
(let [state (r :state)]
(conj-when (= state :W
--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
his message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
On Dec 3, 3:06 pm, levand <[EMAIL PROTECTED]> wrote:
> I am coming to Clojure from the Java side, and am completely ignorant
> about lisp indentation & newline conventions.
>
> Some things are easy to pick up from posted examples and common
> sense...newline + tab af
On Dec 3, 3:06 pm, levand <[EMAIL PROTECTED]> wrote:
> I am coming to Clojure from the Java side, and am completely ignorant
> about lisp indentation & newline conventions.
>
> Some things are easy to pick up from posted examples and common
> sense...newline + tab af
On Dec 7, 5:20 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Am 07.12.2008 um 09:55 schrieb [EMAIL PROTECTED]:
>
> > This solution worked for me and you can see my patch at the following
> > url.
>
> >http://paste.lisp.org/display/71744
&
group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
On Dec 2, 4:52 pm, Peter Wolf <[EMAIL PROTECTED]> wrote:
>
> I vote that we take Merlyn's code as a base and put it on SourceForge.
> I'll add my Lexer and Parser and work on formatting, parens matching and
> coloring. Erik can add his REPL and completion stuff.
&
On Aug 25, 8:38 am, "Michael Reid" <[EMAIL PROTECTED]> wrote:
> Hi Parth,
>
> On 8/25/08, Parth Malwankar <[EMAIL PROTECTED]> wrote:
>
>
>
> > I want to run a shell command through Clojure
> > so I tried the following which doesn't work:
post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
nsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
On Sep 9, 8:48 am, "Brett Morgan" <[EMAIL PROTECTED]> wrote:
> You seem to be asking for the
> compiler to be able to prove that your computation finishes, and if it
> doesn't then give you a sane response.
No.
--~--~-~--~~~---~--~-
On Sep 9, 10:51 am, "Brett Morgan" <[EMAIL PROTECTED]> wrote:
> Would you kindly educate me in how you believe that Clojure would go
> about trapping your error and giving you an error message instead of
> running out of stack space, given that you had given it a
> non
On Sep 9, 11:28 am, "Brett Morgan" <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 9, 2008 at 8:20 PM, Mike Hinchey <[EMAIL PROTECTED]> wrote:
>
> > It doesn't seem *impossible* for require and use to keep a var set of
> > namespaces it's loading and c
On Sep 9, 11:26 am, "Brett Morgan" <[EMAIL PROTECTED]> wrote:
> For C, protection against circular dependencies is on the head of the
> programmer, in the form of #ifdef guards.
There is #import as a GCC extension (al
On Sep 9, 4:26 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
> My point is, having encountered this error (which is not the kind of
> thing that is going to lurk around to bite you deep at runtime), was
> it not obvious what the problem was? Did Clojure, and the work you
> were doi
On Sep 10, 4:32 pm, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> The enclosed patch modifies "load" to detect and prevent loading a
> resource while another load of the same resource is pending in the
> same thread. It works at the "load&quo
ooglegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
n the expression to inherit the binding values?
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send
nsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
On Oct 14, 10:04 am, Asbjørn Bjørnstad <[EMAIL PROTECTED]> wrote:
>
[..snip..]
> So it is not possible to put the clj files into the jar so that no
> unzipping
> is neccessary? I tried, but my java/jar knowledge is basically zero.
> --
> -asbjxrn
it is definitely
Rich,thanks,
After i finish my translating work, I will contact you to see whether
it fit on your
web. But i hope so :)
Best regards
Gerry
On Oct 16, 6:55 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Oct 14, 1:05 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Santiago, Chile.
On Oct 17, 6:27 am, "Rastislav Kassak" <[EMAIL PROTECTED]> wrote:
> Hello Clojurians,
>
> I think after 1st year of Clojure life it's good to check how far has
> Clojure spread all over the world.
>
> So wherever are you come from, be
m not sure I'll get back to it, if
it's any use please use what's there.
bd
On Oct 17, 3:59 am, "Iwan van der Kleijn" <[EMAIL PROTECTED]>
wrote:
> I am working on a Clojure plugin for jEdit. Currently you can use Clojure
> source as jEdit macros and evaluate s
Hubei,China
gerry
On Oct 17, 5:27 pm, "Rastislav Kassak" <[EMAIL PROTECTED]> wrote:
> Hello Clojurians,
>
> I think after 1st year of Clojure life it's good to check how far has
> Clojure spread all over the world.
>
> So wherever are you come from, be
86G,2G mem
Clojure and scala both latest build from svn
any ideas?
--~--~-~--~~~---~--~~
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
To unsubscribe
int type?
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http
Scala is sure to use java primitive int type underline, i.e value
type and boxed to java Integer when necessarily
But why not Clojure auto make this ?
gerry
On Oct 19, 11:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Here is coersion version for Cloju
This lazy cached calculate is wonderful ,but i think the benefit from
it mostly due to cache .
On Oct 19, 11:56 pm, "Lauri Oherd" <[EMAIL PROTECTED]> wrote:
> There is also a faster way to calculate fibonacci numbers in Clojure
> (code taken from
> fromhtt
Austin, Texas, USA.
On Oct 17, 9:18 am, "Eric Rochester" <[EMAIL PROTECTED]> wrote:
> Atlanta, Georgia, US
>
> On Fri, Oct 17, 2008 at 5:27 AM, Rastislav Kassak <[EMAIL PROTECTED]>wrote:
>
>
>
> > Hello Clojurians,
>
> > I think after
groups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
.?
Konrad.
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
On Oct 22, 6:45 pm, Chouser <[EMAIL PROTECTED]> wrote:
> Don't dismiss clojure/zip to easily. The functions defined there
> largely defer to functions stored in metadata on the object. This
> means a new type of zip tree can be provided by anyone in any
> namespace,
~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
On Oct 29, 2:20 pm, Paul Drummond
<[EMAIL PROTECTED]> wrote:
> Is there reason why abs is not part of the Numbers interface?
I don't know, but...
> Would be nice to be able to use:
>
> (abs -1.0)
> 1
> (abs 1.0M)
> 1M
How about this:
(defn abs [x]
e you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
correct.
I'm using emacs 22 on OSX.
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
-compatible.html
Chris
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROT
I am not advocating Clojure move to the GPL!!! I don't want to fight
that battle.
However, a slight change to a GPL *compatible* license would be
*very* welcome
and I think benefit Clojure.
Chris
On Nov 2, 10:50 am, Phlex <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
&
On Nov 2, 10:52 am, jdz <[EMAIL PROTECTED]> wrote:
> 2. I personally dislike GPL
Opinions about the GPL are straw men. No one is advocating
conversion to GPLjust a GPL compatible license.
--~--~-~--~~~---~--~~
You received this message becaus
On Nov 2, 11:06 am, Randall R Schulz <[EMAIL PROTECTED]> wrote:
> many projects and businesses, both
> commercial and open-source, will categorically not use GPL-licensed
> software in their projects.
straw man again.They will use a GPL compatible license like MIT
and BSD
On Nov 2, 1:16 pm, Matthias Benkard <[EMAIL PROTECTED]> wrote:
> > I would hate to seeclojureadopting the GPL.
>
> Certainly, something compatible with the GPL wouldn't have to be the
> GPL itself.
Thank you. True!
cs
--~--~-~--~~~---~
On Nov 2, 3:28 pm, "a r" <[EMAIL PROTECTED]> wrote:
> Still, for me a dual CPL/LGPL license would be nicer. This is purely
> for practical reasons - Java itself going GPL, reusing (those few) GPL
> Java libraries or embeddingClojurecompiler in GPL applications (this
&g
On Nov 2, 1:56 pm, ".Bill Smith" <[EMAIL PROTECTED]> wrote:
> For an earlier discussion of this same topic,
> seehttp://groups.google.com/group/clojure/browse_thread/thread/735aa7f1c...
>
> Bill
I agree that GPL incompatibility isn't a concern for Clojure
On Nov 2, 5:11 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
> I want a reciprocal license.
> But I don't want the license to apply to, or dictate anything about,
> non-derivative work that is combined with mine, as GPL does. I think
> doing so is fundamentally wrong.
It i
On Nov 3, 5:35 am, J. Pablo Fernández <[EMAIL PROTECTED]> wrote:
> One thing that might be doable and acceptable is dual licensing. If
> Clojure is realsed as CPL *and* GPL, it can be combined with GPL
> programs and it is not in any way more free than the CPL (say, like if
>
On Nov 3, 2:14 am, mritun <[EMAIL PROTECTED]> wrote:
> Hi Chris
>
> What said problem would moving to GPL solve ? Shouldn't we hear
> atleast a couple of benefits that may be derived from moving to GPL ?
> Are there (GPL) projects that clojure would benefit from inc
On Nov 2, 10:52 pm, "Mark H." <[EMAIL PROTECTED]> wrote:
> On Nov 2, 10:31 pm, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > (There are examples of projects 'weakening' the GPL in various ways
> > to suit their need
On Nov 3, 7:33 am, "Christian Vest Hansen" <[EMAIL PROTECTED]>
wrote:
> On Mon, Nov 3, 2008 at 2:11 AM, Rich Hickey <[EMAIL PROTECTED]> wrote:
> > MIT and BSD are not reciprocal licenses. I want a reciprocal license.
>
> What does it mean that a license is
On Nov 3, 12:36 pm, Matthias Benkard <[EMAIL PROTECTED]> wrote:
> Yes, it's worth worrying about. The problem is, you're going to have
> the danger of fragmenting the Clojure user base.
I think Clojure has potential to become *very much* more well known
and used.
Are w
ak.
Chris
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http
On Nov 4, 4:37 pm, Matthias Benkard <[EMAIL PROTECTED]> wrote:
>
> The CPL doesn't allow me to choose the GPL. Instead, it forces me to
> apply a CPL-compatible, GPL-like license -- a thing which may or may
> not currently exist, but which will certainly make my libr
On Nov 5, 6:55 am, Konrad Hinsen <[EMAIL PROTECTED]> wrote:
> I agree. Can anyone cite a single lawsuit concerning an inappropriate
> mix of licenses?
Usually these license issues get resolved before court. The fact is
that it is illegal to combine CPL and GPL code in cer
On Nov 5, 12:00 pm, Mibu <[EMAIL PROTECTED]> wrote:
> Why can't we debate whether a license is needed at all for a
> free project?
> (Too idealistic? Hey, it's a flame war. Just playing by the rules...)
This is sounding awfully trollish of you. I didn't start
(sort my-comp [5 3 1 2])
(5 3 2 1)
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [E
To answer my own question - AFn.java implements java.util.Comparator.
On Nov 6, 10:18 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> The doc of "sort" states that you need to implement
> java.util.Comparator in order to use custom sorting. Why then does
>
On Nov 5, 5:53 pm, Matthias Benkard <[EMAIL PROTECTED]> wrote:
> On Nov 5, 3:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > Are you sure? You're not modifying the clojure source, so you're not
> > creating a derivative work. I would think you can
On Nov 6, 12:43 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Nov 6, 5:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > To answer my own question - AFn.java implements java.util.Comparator.
>
> That is documented here:
>
> http://cl
.
-Darren
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options,
ava:3740)
... 9 more
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED
group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
On Nov 10, 9:28 pm, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> This works:
>
> svn cohttps://clojure.svn.sourceforge.net/svnroot/clojure/trunkclojure
> (checks out)
> cd clojure
> ant
> (builds)
> java -cp clojure.jar:./gen clojur
When I rebuilt using 1088 it works correctly. Thank you very much!
On Nov 9, 11:43 pm, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Nov 9, 2008, at 9:57 PM, [EMAIL PROTECTED] wrote:
>
> svn co -r 1088
>
> If you continue to have trouble, ple
cified either as function metadata or by themselves,
using macro deftest.
Benoit
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.co
n my namespace. Is this a
bug?
Thank you,
Benoit
--~--~-~--~~~---~--~~
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
To unsubscribe from this gr
d email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
e you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
o this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
with me, Chouser.
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options,
+1 for Baltimore.
On Oct 17, 8:12 am, Paul Barry <[EMAIL PROTECTED]> wrote:
> Baltimore, Maryland, US
>
> On Oct 17, 5:27 am, "Rastislav Kassak" <[EMAIL PROTECTED]> wrote:
>
> > Hello Clojurians,
>
> > I think after 1st year of Clojure life it
On Nov 14, 3:42 pm, Chouser <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 14, 2008 at 2:11 PM, Jeff Rose <[EMAIL PROTECTED]> wrote:
> > Does my dispatch function have to inspect the passed in values to
> > figure out whichtypeof struct they are, or can I query that
> >
On Nov 14, 3:42 pm, Chouser <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 14, 2008 at 2:11 PM, Jeff Rose <[EMAIL PROTECTED]> wrote:
> > Does my dispatch function have to inspect the passed in values to
> > figure out which type of struct they are, or can I query that
> &
p"} :three
[1 2 3 4 5] :four "still making things up" :five :done})
#'user/things
user> (pp things)
nil
{:three [1 2 3 4 5],
:one "another",
:five :done,
:four "still making things up",
:two {:a "map", :map "inside"}}
user>
user>
On Nov 18, 12:53 pm, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> As always: don't copy code blindly! Take a step back and look from a
> distance, how you can *translate* the code. For example, in the
> show-list-children function, the recursion is just used for iteration
On Nov 18, 1:12 pm, Chouser <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 18, 2008 at 1:05 PM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > Your implementation needs to get the whole value of pr-str before
> > deciding that it is too long to put on a si
On Nov 18, 1:20 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Thanks for the advice. I think this works for show-list-children:
>
> (defn insert-line [x y]
> (doc-concat x (doc-concat (doc-line) y)))
>
> (defn show-list-children [x]
>
raphic, so, any info would be appreciated.
Thanks
--~--~-~--~~~---~--~~
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
To unsubscribe from this group,
you for your thoughts,
Benoit
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTE
oogle Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
eceived this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
eems awfully short but it's a nice function to have, at least for
me.
Thanks,
Steve
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegr
On Nov 21, 9:03 pm, Stuart Sierra <[EMAIL PROTECTED]> wrote:
> Hi Steve,
> Although the reduce is very Lispy, in this case it might be clearer
> with loop/recur:
>
Thanks for your rewrite. I don't see if-let in the website API
documentation. I suppose I should track the
from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
On Nov 22, 7:31 pm, "Christian Vest Hansen" <[EMAIL PROTECTED]>
wrote:
> With (vec) I think:http://clojure.org/api#toc508
That's not really efficient as it copies the whole seq. It seems that
relative to sequences the other data structures are second class
insofar as w
On Nov 22, 9:48 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
> map and filter don't modify anything. What does it mean to filter a
> vector?
Yes yes, I know that. Still in English its sometimes easier to be
sloppy and pretend that I modify something even though I get another
vecto
On Nov 21, 10:38 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> One thing that strikes me is that the (if (< num sample-size) ...)
> test is unnecessary after sample-size has been
> reached. It might be better to write it as two loops for that reason.
>
I wen
On Nov 23, 1:23 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> I still don't understand your expectation here. If the filter does any
> filtering, it won't return everything in the vector, so the new result
> will have fewer items. Do you want a vector with fewer items?
is message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---
On Nov 24, 12:41 am, "Kevin Downey" <[EMAIL PROTECTED]> wrote:
> I don't think you understand. clojure data structures are IMMUTABLE.
> every call to conj, or anyother function returns a "new" object. To
> optimize there is sharing of structure.
In the p
On Nov 24, 3:03 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:>
> Speculating about inefficiency without a concrete counter-proposal is
> not productive. While there could no doubt be some higher-performance
> vector constructor/reducers, producing vector-returning versions of
>
Any ideas?
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more
On Nov 24, 8:17 pm, Chouser <[EMAIL PROTECTED]> wrote:
> One option: You could use a seq instead of all the various structs.
I took your advice and uploaded the rewrite to the files section in
Google Groups, filename is pretty-printer.clj. It doesn't get a stack
overflow anymor
On Nov 25, 12:22 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> This approach might just be too inefficient -- perhaps it would be
> best to implement the pretty-printer in an imperative style after all.
OTOH it is pretty darn nifty...
user> (pp
On Nov 25, 12:50 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Nov 25, 12:22 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > This approach might just be too inefficient -- perhaps it would be
> > best to implemen
1 - 100 of 106 matches
Mail list logo