On Nov 26, 2:35 pm, "Mark Volkmann" <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 26, 2008 at 1:13 PM, Shawn Hoover <[EMAIL PROTECTED]> wrote:
>
> > On Wed, Nov 26, 2008 at 1:55 PM, Mark Volkmann <[EMAIL PROTECTED]>
> > wrote:
>
> >> The documentation for commute says "Sets the in-transaction-value o
On Nov 26, 10:28 am, dreish <[EMAIL PROTECTED]> wrote:
> Now that you've gone this far, why not do this?
>
> - class clojure.lang.TailCall contains an AFn
> - Compiler checks for a tail call position and instead of calling it,
> returns new TailCall(AFn)
> - In invoke, while returnvalue instance
On Nov 25, 10:42 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Nov 25, 2008, at 9:05 AM, Rich Hickey wrote:
>
> > I've added trampoline to ease the conversion/creation of mutually
> > recursive algorithms in Clojure.
>
> Very cool! Than
On Nov 25, 12:51 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> 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
> >
I've added trampoline to ease the conversion/creation of mutually
recursive algorithms in Clojure.
Trampolines are a well known technique for implementing TCO - instead
of actually making a call in the tail, a function returns the function
to be called, and a controlling loop calls it, thus allow
On Nov 24, 6:41 pm, dokondr <[EMAIL PROTECTED]> wrote:
> Any ideas how Clojure can be used for distributed concurrent
> applications ?
> To my mind it should be possible to implement in Clojure mechanism
> similar to Erlang light-weight processes running on distributed
> 'nodes' that can be add
On Nov 24, 7:22 pm, dokondr <[EMAIL PROTECTED]> wrote:
> Providing that Clojure is NOT a pure functional language like Haskell,
> yet how can I isolate imperative-style computational structures from
> the main body of the functional program?
You can't, other than manually.
> How can I ensure
On Nov 23, 9:09 am, James Reeves <[EMAIL PROTECTED]> wrote:
> On Nov 23, 11:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Hi,
>
> > According tohttp://clojure.org/reader:
>
> > > Keywords are like symbols, except:
>
> > > o They can and must begin with a colon, e.g. :fre
On Nov 24, 2:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> 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 ther
'll work with the new complex numbers?
>
> Opinions?
There's likely to be performance pressure on any numeric types.
Rich
>
> On Nov 23, 3:42 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> > On Nov 23, 8:56 am, Rock <[EMAIL PROTECTED]> wrote:
>
>
On Nov 23, 8:56 am, Rock <[EMAIL PROTECTED]> wrote:
> On Nov 23, 2:37 pm, André Thieme <[EMAIL PROTECTED]> wrote:
>
> > On 23 Nov., 13:29, Rock <[EMAIL PROTECTED]> wrote:
>
> > > I've just noticed there is no support for complex numbers in Clojure.
> > > There are a few posts on the issue here,
On Nov 21, 3:17 am, Mark McGranaghan <[EMAIL PROTECTED]> wrote:
> I've created some experimental HTML docs for Clojure. You can see them
> on S3:http://clj-doc.s3.amazonaws.com/tmp/doc-1116/index.html
>
> Or, just for kicks, on Amazon's new Cloud Front
> CDN:http://d2nbqsesuabw8o.cloudfront.net
On Nov 22, 4:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> 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. S
On Nov 22, 4:20 pm, JMan <[EMAIL PROTECTED]> wrote:
> If you look here:
>
> http://clojure.org/java_interop
>
> you will see the following example:
>
> (doto (new java.util.HashMap) (.put "a" 1) (.put "b" 2))
>
> This produces the following error:
>
> java.lang.IllegalArgumentException: No match
On Nov 22, 1:07 pm, [EMAIL PROTECTED] wrote:
> In one of my data structures I have a vector as a buffer where things
> are appended to. In addition the things in that buffer sometimes get
> modified using map or filter. Now as map and filter return sequences I
> wonder how to get a vector back e
On Nov 21, 10:15 am, Stuart Sierra <[EMAIL PROTECTED]>
wrote:
> On Nov 21, 8:46 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> > I'd appreciate examples of gen-and-load-class and gen-and-save-class
> > use not well supported by the AOT gen-class.
>
> Don
On Nov 21, 4:20 pm, Craig McDaniel <[EMAIL PROTECTED]> wrote:
> Testing the new (ns ... :genclass ...), I copied Rich's example
> fromhttp://paste.lisp.org/display/70665:
>
> (ns my.hello
> (:gen-class
>:extends javax.swing.DefaultCellEditor
>:constructors {[Integer] [javax.swing.JChe
On Nov 21, 12:36 pm, Brett Hoerner <[EMAIL PROTECTED]> wrote:
> I've watched a lot of Clojure videos now, and keep hearing Rich
> mention "Henry Baker's egal". Does someone have the actual paper
> title where Baker talks about this? I have an ACM subscription (and
> assume that's where I'd fin
On Nov 21, 11:40 am, samppi <[EMAIL PROTECTED]> wrote:
> Yes, thank you—(key) and (val) were what I was interested in, so I'll
> use the latter function you gave. What I'm wondering though is, if
> MapEntries aren't guaranteed for the future, what is being planned for
> (key) and (val) too. Oh,
On Nov 20, 4:42 pm, Stuart Sierra <[EMAIL PROTECTED]> wrote:
> On Nov 20, 2:14 pm, Stephen Wrobleski <[EMAIL PROTECTED]> wrote:
>
> > Furthermore, requiring the use of (ns ..) to create a class makes defining a
> > class with a macro somewhat tedious (seems like you'd have to bind *ns*, so
> > t
On Nov 20, 7:49 pm, "Shawn Hoover" <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 20, 2008 at 8:27 AM, Daniel Renfer <[EMAIL PROTECTED]> wrote:
> > perhaps what we need is a clojure-in-a-box solution. We could create a
> > package containing a version of clojure, emacs, slime, swank-clojure,
> > cloju
On Nov 21, 12:07 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Nov 21, 2008, at 12:03 AM, samppi wrote:
>
> > Is it possible to create a MapEntry from scratch?
>
> user=> (def a (clojure.lang.MapEntry. 3 4))
> #'user/a
> user=> (key a)
> 3
> user=> (val a)
> 4
> user=>
>
> You can als
On Sep 30, 1:17 pm, Allen Rohner <[EMAIL PROTECTED]> wrote:
> > Thanks. The summit was really fantastic - so many interesting and
> > smart people and lots of great presentations and conversations. Left
> > me exhausted and a bit MIA here, which I'm afraid will continue
> > through my talk Monda
On Nov 20, 11:28 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> Currently the compiler writes classes to the hierarchy under the value
> of *compile-path* whose root binding is "classes".
>
> As we see in Stuart's build.xml patch, it can convenient to be able to
> specify such a path as p
On Nov 20, 12:37 pm, Feng <[EMAIL PROTECTED]> wrote:
> I start getting StringIndexOutOfBoundException since svn rev 1113 (use
> source name in smap).
Fixed - rev 1120 - thanks for the report.
Rich
--~--~-~--~~~---~--~~
You received this message because you are s
On Nov 20, 10:47 am, "Michael Wood" <[EMAIL PROTECTED]> wrote:
> Hi
>
>
>
> On Thu, Nov 20, 2008 at 12:10 AM, Chouser <[EMAIL PROTECTED]> wrote:
>
> > On Wed, Nov 19, 2008 at 4:00 AM, Michael Wood <[EMAIL PROTECTED]> wrote:
>
> >> Exception in thread "main" java.lang.IllegalArgumentException: No
On Nov 20, 10:33 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 20 Nov., 16:00, Simon Brooke <[EMAIL PROTECTED]> wrote:
>
> > And this in turn is because, in core.clj
>
> > (defmacro cond
> > "Takes a set of test/expr pairs. It evaluates each test one at a
> > time. If a test
On Nov 19, 5:05 pm, Stephan Mühlstrasser
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> first of all hello to everybody as I'm new to this group.
>
> I'm starting to learn Clojure, and therefore I studied the ants.clj
> program. It's more or less clear to me how it works, but I stumbled
> across a small d
On Nov 20, 7:38 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 20 Nov., 13:30, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> > Yes. Please use auto-gensyms (name#):
>
> > `(let [frame# ~frame]
> >(.setTitle frame# ~title)
> >
On Nov 20, 12:18 am, Chouser <[EMAIL PROTECTED]> wrote:
> Since SVN rev 1110:
>
> user=> (compile 'clojure.contrib.str-utils)
> java.lang.Exception: Namespace name must match file, had:
> clojure.contrib.str-utils and clojure/contrib/str_utils.clj
> (NO_SOURCE_FILE:0)
>
> I think the only proble
On Nov 20, 6:39 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 20 Nov., 11:29, Rock <[EMAIL PROTECTED]> wrote:
>
> > I was what the difference might be with respect to this:
>
> > `(let [frame ~frame]
> >(.setTitle frame ~title)
> >(.setVisible frame)
> >frame)
>
> Th
On Nov 19, 6:51 pm, mifrai <[EMAIL PROTECTED]> wrote:
> I know it's minor and nit-picky but so long as we're rolling out so
> many breaking changes is it possible to reclaim scan and touch instead
> of leaving dead functions that need an :exclude?
Yes, done.
Rich
--~--~-~--~~--
On Nov 19, 8:23 pm, Chouser <[EMAIL PROTECTED]> wrote:
> _Jordan_ in IRC discovered a bug that can be distilled to:
>
> user=> (let [x [3 2 1]] (sort x) x)
> [1 2 3]
>
> The sort function mutates the vector. This can happen because the
> toArray() method of LazilyPersistenVector returns its own
On Nov 19, 2:35 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote:
> Rich,
>
> Very helpful, as always. Alias + the ability to pull in symbols names
> via refer was exactly what I was looking for.
>
> One scenario still worries me:
>
> 1. I create a multimethod that dispatches around a tag whose val
On Nov 19, 1:12 pm, Raffael Cavallaro <[EMAIL PROTECTED]>
wrote:
> user> (def test-array (make-array (. Boolean TYPE) 100))
> #'user/test-array
> user> (aget test-array 0)
> false
> user> (= (aget test-array 0) false)
> true
> user> (if (aget test-array 0) 'true-value 'false-value)
> true-value
On Nov 19, 11:18 am, capricorn20 <[EMAIL PROTECTED]> wrote:
> I want create seq which keep indexes of non-zero elements of
> collection.
> Code:
>
> (defn nonzero-inx [s]
> (filter (fn [x] (not (nil? x))) (map (fn [a b] (if (not (== a 0))
> b)) s (range (count s)
>
> look complicated than
On Nov 19, 10:07 am, Stuart Sierra <[EMAIL PROTECTED]>
wrote:
> Hmm, it seems strange to me that this works at all:
>
> user=> (eval '(list + 1 2 3))
> (# 1 2 3)
> user=> (eval *1)
> 6
>
> Does that mean that functions evaluate to themselves?
>
Sure, they always have (think map). The trick is,
On Oct 23, 9:53 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Oct 21, 10:30 am, mb <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > On 21 Okt., 14:41, mb <[EMAIL PROTECTED]> wrote:> (defmacro doto->
>
> > The name is actually also up to dis
On Nov 19, 9:01 am, "J. McConnell" <[EMAIL PROTECTED]> wrote:
> In writing up tests for clojure.contrib.test-clojure that cover the
> Evaluation page of clojure.org, I came across the fact that the
> following threw a CompilerException due to a
> "java.lang.ClassNotFoundException: clojure._PLUS_
On Nov 19, 7:45 am, Stuart Halloway <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am working on the multimethod chapter this week. This has required a
> lot of exploration, as the multimethod feature set goes well beyond
> what most people are using yet. I have hit one rough spot: derive. I
> have
On Nov 18, 2:48 pm, Konrad Hinsen <[EMAIL PROTECTED]> wrote:
> On 18.11.2008, at 19:32, Shawn Hoover wrote:
>
> > For functions defined in libs that you load into Clojure, you can
> > find out the file and line from the metadata. For functions you
> > define in the REPL, this trick won't help. S
On Tue, Nov 18, 2008 at 9:42 AM, Raffael Cavallaro <
[EMAIL PROTECTED]> wrote:
>
>
>
> On Nov 18, 1:46 am, "Cosmin Stejerean" <[EMAIL PROTECTED]> wrote:
>
> > What kind of bugs are acceptable for the
> > purpose of a known good combination? Is slime starting up sufficient?
>
> It's a whole lot bet
On Tue, Nov 18, 2008 at 3:14 AM, Toralf Wittner <[EMAIL PROTECTED]>wrote:
> On Sun, 2008-11-16 at 01:35 +0100, [EMAIL PROTECTED] wrote:
> > Currently agent errors are only reported when the agent is derefenced
> > or further actions are dispatched to the agent. It would be great if
> > one can get
On Nov 18, 2008, at 12:53 AM, Stephen C. Gilardi wrote:
>
> On Nov 17, 2008, at 11:42 PM, Stephen C. Gilardi wrote:
>
>> It seems there's something not quite right, though. I did a fresh
>> checkout of 1108 and built with "ant" and ran with "java -jar
>> clojure.jar" and got an exception:
>
On Nov 17, 8:50 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Nov 16, 2008, at 10:34 PM, Rich Hickey wrote:
>
> > Since it only requires main, might I suggest you write this in
> > Clojure instead?
>
> I gave that a try.
>
> Here
On Nov 17, 5:16 pm, "Mark Volkmann" <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 17, 2008 at 3:48 PM, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> > On Nov 17, 4:22 pm, samppi <[EMAIL PROTECTED]> wrote:
> >> Inhttp://groups.google.com/group/cl
On Nov 17, 4:22 pm, samppi <[EMAIL PROTECTED]> wrote:
> Inhttp://groups.google.com/group/clojure/browse_thread/thread/62140a28b...,
> the following example was given:
>
> (defn test1 [{x :x, y :y, :or {:y 3}}]
> [x y])
> (test1 {:x 2}) => [2 3]
>
> But this doesn't work on the latest Clo
On Nov 17, 1:00 pm, Scott Fleckenstein <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I've run into a bug since upgrading past revision 1100, specifically
> around adding to the classpath at runtime using add-classpath. I've
> attached a test case
> here:http://s3.amazonaws.com/nullstyle/precompile-
On Nov 17, 8:50 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Nov 16, 2008, at 10:34 PM, Rich Hickey wrote:
>
> > Since it only requires main, might I suggest you write this in
> > Clojure instead?
>
> I gave that a try.
>
> Here
You contend that Lisp is regular, without defining regular. I contend
that as soon as you have ' it is not regular, and no one writes Lisp
without '.
You keep using the term 'syntax' for Clojure's non-list data
structures. If list literals are not syntax, neither are vector or map
literals.
You
On Nov 17, 2:06 am, mb <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 17 Nov., 02:09, Chouser <[EMAIL PROTECTED]> wrote:
>
> > You could of course work around this by putting your loop in some
> > other function and calling it from inside catch.
>
> In this specific case I used:
> (last (take-while #(n
On Nov 17, 7:56 am, Konrad Hinsen <[EMAIL PROTECTED]> wrote:
> On Nov 17, 2008, at 13:33, mb wrote:
>
> > vals returns a clojure.lang.APersistentMap$ValSeq, which
> > is not a list. Hence list? returns false and you get the true
> > branch, ie. the thing itself.
>
> A. It looks like a li
On Nov 16, 9:47 pm, "Stuart Sierra" <[EMAIL PROTECTED]>
wrote:
> Hi Rich, and all,
>
> I took a stab at writing a static compiler class, i.e. a main() that
> just compiles all the .clj files on the command line and saves the
> .class files. Patch attached.
>
> It almost works. The only thing t
12:02 PM, npt11tpn <[EMAIL PROTECTED]> wrote:
>
> > Hi guys,
> > This is my first post to the group, but have been following the
> > discussions for almost a year. Many thanks to Rich Hickey for creating
> > a fantastic future-proof language which is a pleasure to
On Nov 16, 7:59 am, Jeff Rose <[EMAIL PROTECTED]> wrote:
> Thanks for responding. I had already seen the shebang script hack on
> the wiki, and although impressive I don't think it's a solution. It's
> shocking to me that someone who is into lisp would even think of getting
> rid of read macro
On Nov 14, 3:50 pm, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Nov 14, 2008, at 3:11 PM, Howard Lewis Ship wrote:
>
> > The point is, an exception that said something like:
>
> > "Expected java.lang.Comparable but received :king" would have helped
> > me unravel this much, much easier!
On Nov 15, 2:34 pm, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Am 15.11.2008 um 19:20 schrieb Stephen C. Gilardi:
>
> > I usually use Mac OS X's Mail from a "mac.com/MobileMe"
> > account to send and receive mail with this group.
>
> I'm using Mail.app on Mac OS X and had never probl
On Nov 15, 4:53 am, Attila Szegedi <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I run FindBugs on Clojure source code, and there are few things it
> uncovered. I'd be happy to fix these and submit patches (after I
> submitted a contributor agreement), except if someone already a
> contributor want
On Nov 15, 12:09 am, "Brian Doyle" <[EMAIL PROTECTED]> wrote:
> Another way to create a map is:
>
> user=> (apply hash-map [:a 1 :b 2 :c 3])
> {:a 1, :c 3, :b 2}
>
Yes, that's fine, and for the flatten:
(interleave (keys m) (vals m))
Rich
> On Fri, Nov 14, 2008 at 9:42 PM, samppi <[EMAIL PR
On Nov 14, 12:51 pm, "Stuart Sierra" <[EMAIL PROTECTED]>
wrote:
> Patch attached. This precompiles everything except parallel.clj,
> which requires an extra Jar. It also omits the source .clj files from
> the clojure.jar file.
> -Stuart Sierra
Patch applied (svn 1101) - thanks!
Rich
--~--~
On Mon, Nov 10, 2008 at 2:42 AM, Toralf Wittner <[EMAIL PROTECTED]>wrote:
> Dear list members,
>
> There is a small problem with unicode escapes in Clojure strings. When
> StringReader encounters a unicode escape it checks Character.isDigit
> which is only true for decimal digits, but not hexadeci
On Nov 14, 4:51 am, Zak Wilson <[EMAIL PROTECTED]> wrote:
> It's currently possible to compile the files and rebuild the jar. It
> does result in a faster startup time.
>
> There doesn't seem to be a way to generate precompiled class files
> with main methods at this point. Is there any reason s
On Nov 14, 4:21 am, Parth Malwankar <[EMAIL PROTECTED]> wrote:
> On Nov 13, 11:43 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> > We're coming around the other side of the few breaking changes I
> > wanted to get done before release 1.0.
>
> > The ch
On Nov 13, 11:20 pm, Parth Malwankar <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> While setting ns to clojure.zip, I get the following error:
>
> user=> (ns clojure.zip)
> java.lang.IllegalStateException: replace already refers to:
> #'clojure.zip/replace in namespace: clojure.zip (NO_SOURCE_FILE:0)
On Nov 13, 2:31 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote:
> (clojure.core/ns clojure)
>
> or if you are on an old build I think it would be
>
> (clojure/ns clojure)
>
This is coming in my book notes, I promise :), but ns should not be
used to change namespaces in the repl, only in-ns shoul
We're coming around the other side of the few breaking changes I
wanted to get done before release 1.0.
The changes are:
New regex format:
http://groups.google.com/group/clojure/msg/eddd7f0d292da683
Uniform binding syntax using vectors:
http://groups.google.com/group/clojure/browse_frm/thread
Some people have asked how to donate to Clojure, so I've turned
donations on in SF:
https://sourceforge.net/project/project_donations.php?group_id=137961
Thanks to all for your support!
Rich
--~--~-~--~~~---~--~~
You received this message because you are subscrib
On Nov 13, 8:36 am, Stuart Halloway <[EMAIL PROTECTED]> wrote:
> Hi Meikel,
>
> I spent a few minutes trying to write a macro to do this that doesn't
> use eval. So far no good. Is it truly impossible, though? I have never
> seen a good discussion of "things that can be done only with eval".
> A
On Nov 12, 7:21 pm, samppi <[EMAIL PROTECTED]> wrote:
> Ah, yes. I meant, what are these hints? What does the compiler change?
> Is it some sort of informal type enforcement or something?
>
The hints are described here:
http://clojure.org/java_interop#typehints
It is strictly a performance op
On Nov 12, 6:49 pm, samppi <[EMAIL PROTECTED]> wrote:
> Onhttp://clojure.org/reader...
>
> A shorthand version allows the metadata to be a simple symbol or
> keyword, in which case it is
> treated as a single entry map with a key of :tag and a value of
> the symbol provided, e.g.:
>
On Nov 11, 10:13 am, "Daniel Renfer" <[EMAIL PROTECTED]> wrote:
> Rich,
>
> Would you recommend using declare even if you are able to arrange your
> code to avoid dependency issues, or only if you can't work around it?
>
I think it's a personal preference thing, certainly not necessary.
Rich
On Nov 10, 9:38 pm, "Mike DeLaurentis" <[EMAIL PROTECTED]> wrote:
> Hi Rich,
>
> I'm giving a talk about Clojure tomorrow night in Philadelphia for a
> functional programming user group, and I'd like to include some
> information about you. Do you have a standard bio you use for things
> like th
On Nov 11, 12:24 am, Paul Barry <[EMAIL PROTECTED]> wrote:
> In Common Lisp and Scheme, if you have an expression that evaluates a
> symbol, it doesn't evaluate it until you call the function, not when
> you define it. So you can do this:
>
> Common Lisp:
> [1]> (defun b () a)
> B
> [2]> (defva
On Nov 10, 9:38 pm, "Mike DeLaurentis" <[EMAIL PROTECTED]> wrote:
> Hi Rich,
>
> I'm giving a talk about Clojure tomorrow night in Philadelphia for a
> functional programming user group, and I'd like to include some
> information about you. Do you have a standard bio you use for things
> like th
On Nov 10, 10:17 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Nov 10, 2008, at 9:46 AM, Graham Fawcett wrote:
>
>
>
> > Hi folks,
>
> > I haven't been bitten by the "do not use" revisions, R1089 onward, but
> > it seems that others have.
On Nov 10, 2008, at 9:46 AM, Graham Fawcett wrote:
>
> Hi folks,
>
> I haven't been bitten by the "do not use" revisions, R1089 onward, but
> it seems that others have.
>
> I'm just curious why the team decided not to use a branch for these
> breaking changes, and merging back with trunk once th
On Nov 10, 2008, at 8:48 AM, Robert Lally wrote:
> One of the many things that I really like about Clojure is that it
> abandoned Lisp tradition where it was pragmatic to do so. One of the
> prime examples for me was the use of first and rest rather than car
> and cdr. Sure, I can read cod
On Nov 9, 8:21 am, Stuart Halloway <[EMAIL PROTECTED]> wrote:
> You should be able to do this without the ref. Have the agent's state
> contain a pair of [has-run, fn-result].
The semantics of your runonce aren't clear to me, but here are some
strategies:
As Chouser proposed, if you only want a
On Nov 8, 2:44 pm, "Michael Wood" <[EMAIL PROTECTED]> wrote:
> Is there any particular reason for the reversal of the order of
> arguments between nth and take-nth?
Short answer - take-nth is more like take.
Longer answer:
http://groups.google.com/group/clojure/browse_frm/thread/8b2c8dc96b39d
lso means
> "doseq" is only defined once (nor redefined as in the earlier patch).
>
> This patch is against 1089, the "Interim checkin - DO NOT USE!!" version of
> SVN.
>
Patch applied - many thanks!!
Rich
>
> On Sat, Nov 8, 2008 at 7:42 AM, Rich Hic
On Nov 7, 5:09 pm, James Reeves <[EMAIL PROTECTED]> wrote:
> On Nov 7, 9:32 pm, Chouser <[EMAIL PROTECTED]> wrote:
>
> > > And in which case, your vector syntax could be misleading, because it
> > > seems to imply you're assigning i to 10:
>
> > > (dotimes [i 10]
> > > (prn i))
>
> > Vectors ar
On Nov 7, 5:41 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote:
> Hi Rich,
>
> Sorry for being unclear. define-ant-task will be called as I
> reflectively walk Ant's object model. A more complete listing follows.
> The problem is that I am passing (.getKey td) to the macro, where
> (.getKey td) re
On Nov 7, 3:48 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote:
> The following macro in lancet defines an ant task.
>
>(defmacro define-ant-task [task-name]
> `(def ~(symbol task-name) (create-ant-task ~task-name)))
>
> (At least) one of the following assumptions is wrong:
>
> (1) define
On Nov 7, 1:02 pm, "Graham Fawcett" <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 7, 2008 at 11:46 AM, vdm <[EMAIL PROTECTED]> wrote:
>
> > Is there a way to make Clojure print the svn revision it was compiled
> > from? A standard or idiomatic way to do this (print clojure--svn-rev)
> > would help wh
On Nov 6, 8:42 pm, Daniel Spiewak <[EMAIL PROTECTED]> wrote:
> > So you'd need a runtime instanceof test for Class, and use the
> > fastpath if true, reflection if not.
>
> > Perf could be harder to pin down, as adding an import could cause
> > previously fast code to get slow.
>
> Actually, I w
On Nov 6, 4:31 pm, Daniel Spiewak <[EMAIL PROTECTED]> wrote:
> I've been perusing Stu Halloway's beta of "Programming Clojure" and I
> came across the following example:
>
> (defn describe-class [c]
> {:name (.getName c)
>:final (java.lang.reflect.Modifier/isFinal (.getModifiers c))})
>
>
On Nov 6, 7:50 am, mb <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 6 Nov., 13:30, Chanwoo Yoo <[EMAIL PROTECTED]> wrote:
>
> > > Is {:a 1} not a hash-map? It seems that there is some inconsistency...
>
> Clojure holds promises about the interface and the performance
> characteristics of the provided
On Nov 6, 2008, at 7:05 AM, [EMAIL PROTECTED] wrote:
>
> 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 implemen
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://clojure.org/special_forms
Rich
--~--~-~--~~~---~--~~
You received this message because yo
On Nov 5, 4:13 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> 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 sound
On Nov 4, 1:22 pm, "Raoul Duke" <[EMAIL PROTECTED]> wrote:
> hi,
>
> > Though I don't know much about TMs, I will grant that I have not
> > actually seen such tools for TMs, so your argument probably still
> > holds, but I don't think it will hold forever.
>
> it is an interesting thing: the eco
On Nov 4, 11:56 am, Justin Henzie <[EMAIL PROTECTED]> wrote:
> My preference is that the book focuses on the default java stack.
>
+1
I know people have built UIs with Netbean's Matisse, which is supposed
to be very good, and wired them up with Clojure. IMO that's a
promising approach.
Rich
On Nov 4, 2008, at 11:37 AM, Matthias Benkard wrote:
>
> On Nov 4, 1:35 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
>> So far, you are only the third person to complain about lack of GPL
>> compatibility.
>
> For the sake of balance, I _am_ actually concer
On Nov 4, 9:00 am, "Christian Vest Hansen" <[EMAIL PROTECTED]>
wrote:
> On Tue, Nov 4, 2008 at 1:45 PM, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> > On Nov 4, 2:56 am, "Christian Vest Hansen" <[EMAIL PROTECTED]>
> > wrote:
> >>
On Nov 4, 3:47 am, "Christian Vest Hansen" <[EMAIL PROTECTED]>
wrote:
> Just reading through the first CACM article, they raise a number of
> issues that I think are more addressed in Clojure than they give
> credit to TMs in general based on whatever implementation they were
> investigating.
>
On Nov 4, 2:56 am, "Christian Vest Hansen" <[EMAIL PROTECTED]>
wrote:
> On Tue, Nov 4, 2008 at 6:23 AM, Mark H. <[EMAIL PROTECTED]> wrote:
>
> > On Nov 3, 6:48 pm, Cosmin Stejerean <[EMAIL PROTECTED]> wrote:
> >> I think clearly spelling out how objects of a type should be sorted is
> >> the poi
On Nov 4, 1:11 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> 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 t
On Nov 2, 11:35 pm, David Hilton <[EMAIL PROTECTED]> wrote:
> On Oct 22, 5:15 am, Krukow <[EMAIL PROTECTED]> wrote:
>
> > Rich,
>
> > Was this presentation recorded? Any chance you can upload the slides
> > and/or video for those of us that didn't participate in Lisp50.
>
> > Thanks
> > - Karl
>
On Nov 2, 7:12 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> 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 inc
On Oct 31, 1:20 pm, André Thieme <[EMAIL PROTECTED]> wrote:
> In #Clojure Rich mentioned today that we can define our own data
> structures on top of the existing ones.
> Maybe someone wants/needs his own version of vectors that rearrange
> automatically in some specific order or whatever.
>
> I
901 - 1000 of 1221 matches
Mail list logo