Re: clojure, not the go to for data science

2015-12-20 Thread Matt Revelle
Hey all, just chiming in that I use Clojure for exploratory analysis, prototyping, and "production." Most of my work involves social networks and aside from my own libs I use: core.matrix, Loom, and gg4clj (ggplot!). I'm also a big fan of core.typed type annotations and Schema for data validati

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-21 Thread Matt Revelle
Mike (core.matrix author) has been adjusting the API according to his needs and those of other users. I don't think anyone will disagree with the statement that good APIs are shaped by usage and keeping things simple. That said, I see no reason why there shouldn't be a common API which is highe

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-19 Thread Matt Revelle
On Friday, June 19, 2015 at 4:57:32 AM UTC-4, Dragan Djuric wrote: > > I do not even claim that an unified api is not possible. I think that to > some extent it is. I just doubt in core.matrix eligibility for THE api in > numerical computing. For it makes easy things easy and hard things > impos

Re: ANN: Sparse matrix support for Clojure with vectorz-clj 0.28.0

2014-12-29 Thread Matt Revelle
ould be much faster than getting the slices one-by-one if the data is very > sparse. > > On Monday, 29 December 2014 09:43:54 UTC+8, Matt Revelle wrote: > >> On Dec 28, 2014, at 7:28 PM, Mike Anderson > <mailto:mike.r.anderson...@gmail.com>> wrote: >> >&g

Re: ANN: Sparse matrix support for Clojure with vectorz-clj 0.28.0

2014-12-28 Thread Matt Revelle
rue}) Implementations should throw an exception if they don’t support (or understand) the preferences. > On Monday, 29 December 2014 02:12:05 UTC+8, Matt Revelle wrote: > Glad to see the addition of new-sparse-array to core.matrix. It looks like it > defaults to SparseRowMatrix for the V

Re: ANN: Sparse matrix support for Clojure with vectorz-clj 0.28.0

2014-12-28 Thread Matt Revelle
Glad to see the addition of new-sparse-array to core.matrix. It looks like it defaults to SparseRowMatrix for the Vectorz implementation? Should the API provide a way to specify which sparse matrix representation (e.g., row- vs column-based, indexed vs hashed) should be used? I'd suggest a 3-ari

Re: Charting Data Format Feedback Requested

2014-12-12 Thread Matt Revelle
I had started thinking about this problem recently too and also had broken it down to two parts. I was going to create a simple data frame protocol for a) and a ggplot2-inspired library which emits SVG for b). There is prior work for plotting in Incanter (using JFreeChart) and David Liebke also

Re: Clojure Conference Poll

2010-01-28 Thread Matt Revelle
On Jan 28, 10:46 am, liebke wrote: > > Oracle just announced Java One in San Francisco from September 19-23, > > 2010 > > Despite my preference for an east coast conference (and my limited > interest in JavaOne), I think it makes a lot of sense to have the > ClojureConj start on the Friday after J

Re: newbie question about ns and :require

2010-01-27 Thread Matt Revelle
On Jan 27, 2:32 pm, Raoul Duke wrote: > > ok, thanks, i will try to internalize that :-) > > i am not somebody who can point to languages i have defined and > implemented, so i don't have any cred, but i think the requirement > that the programmer know such details (like i have to know what is or

Re: Clojure Conference Poll

2010-01-24 Thread Matt Revelle
Location: DC (central and lots of Clojurers in the area) or Atlanta (cheap) Days of week: Any, suggest Fri-Sat There seem to be at least an equal (probably greater) number of east coast Clojure users in North America and the east coast is an easier destination for any European attendees. I'm happ

Re: Neo4j and clojure which project to use

2010-01-11 Thread Matt Revelle
I'd recommend http://github.com/pelle/clojure-neo4j. It's a fork of my repository which is a fork of JulianMorrison's (dead?) neo4j- clojure. Any changes made by pelle will make it back to my repository, but as he is actively developing his fork you're best bet is to track his. -Matt On Jan 11,

Re: Any interest in a Nova Clug?

2009-12-17 Thread Matt Revelle
I'm in and Reston would be great. On Dec 17, 9:50 am, Mike Hogye wrote: > I'm interested, but may have a hard time making it consistently. I do > have a coworker or two who might have both interest and availability. > > On Dec 16, 1:14 pm, Matt wrote: > > > > > I'm looking into setting up a Nort

clojure.test - Test fixtures and ordering

2009-07-14 Thread Matt Revelle
Hi group, I recently noticed that fixtures were not being called for some tests in my code and it turns out (thanks, Chouser) the use of test-ns-hook is incompatible with fixtures. This isn't necessarily undesirable behavior, but it raises an issue: does anyone want high-level support fo

Re: Convincing others about Clojure

2009-06-29 Thread Matt Revelle
On Jun 26, 2:40 pm, Raoul Duke wrote: > > We are hiring; but do you live in Mumbai, India? :) > > no, but i do know some folks around there (although they are all happy > where they are, as far as i know). do you allow telecommuting from > usa? ;-) > > best of luck with the venture. I'm looking

Re: What books have helped you wrap your brain around FP and Clojure?

2009-06-06 Thread Matt Revelle
It may help to review the code and structure of open source Clojure projects, part of the mind-bend feeling could be coming from struggling to know where to begin when writing code and less from unfamiliarity with the theory of FP. I'd also recommend playing with Haskell and reviewing "Real World

Re: The Path to 1.0

2009-04-17 Thread Matt Revelle
On Apr 17, 9:21 am, Rich Hickey wrote: *snip* >Git is not going to happen any time soon, great as it may > be, given the current lack of infrastructure (google code) and tools > support. Is there some respect in which this impacts the core? It > would seem dangerous to marry any single approach i

Re: Is Clojure production ready?

2009-04-16 Thread Matt Revelle
Hi Aaron, On Apr 15, 3:34 pm, Aaron Feng wrote: > Hi, > > I work for a large financial software company, and we are interested > in using Clojure for our new project.  Due to the concurrent nature of > the project, we are evaluating three possible languages: Erlang, > Scala, and Clojure.   Assu

Re: doseq vs. map

2009-04-02 Thread Matt Revelle
Were you in #clojure earlier? This came up there and pjstadig and I raced to implement "domap" and then slashus2 pointed out there was no need for it to be a macro. http://gist.github.com/89249 (defn domap "A map for side-effects. The argument order is the same as map, but unlike map the fun

Re: Annotations and gen-class

2009-03-24 Thread Matt Revelle
place. Generating classes usable in Java code is sometimes necessary and as gen-class' feature set becomes more complete the better it serves users. > > On Mar 24, 9:57 am, Matt Revelle wrote: > > > Support for using JVM annotations with Clojure code has come up > > s

Annotations and gen-class

2009-03-24 Thread Matt Revelle
Support for using JVM annotations with Clojure code has come up several times before, I'd like a feature request issue to be created and to start discussing the implementation. It seems that an "annotations" metadata tag could contain all annotations for an object, and any annotations that

Re: Clojure's syntax design: macros vs functions

2009-03-04 Thread Matt Revelle
On Mar 4, 2009, at 8:03 PM, Elena wrote: > > I wonder if Clojure does employ the same syntax either for macros and > functions by design or it's just a remainder of Lisp. I think that a > shared syntax for both macros and functions calls is a flaw in the > syntax of Lisps, because you can't tell,

Re: "Adding" strings

2009-02-26 Thread Matt Revelle
On Feb 26, 2009, at 2:01 PM, Peter Wolf wrote: > > Thanks all. > > I think appending a bunch of strings is a pretty common operation. > > Is there any reason that str is limited to 2 arguments? It would be > nice to do (str "foo" "bar" "baz") --> "foobarbaz". It does. Try it out. =) > > > Is

Re: alternate syntax

2009-02-23 Thread Matt Revelle
On Feb 23, 2009, at 1:21 PM, MarkH wrote: > > Yes, clojure needs an alternative surface syntax for obvious reasons. > And anybody that brings up Dylan as a counter-example doesn't know > what they're talking about. Dylan died because Apple killed it. > It may be more productive to help newcomer

Re: General Question Clojure(Lisp) Idiom, cross cutting? What is the terminology

2009-02-20 Thread Matt Revelle
Higher-order functions (HOFs), are functions that use "lower" functions to perform a task. The map and reduce functions are both HOFs. On Feb 20, 2009, at 10:16 AM, Jeffrey Straszheim wrote: > The OO folks call this an "internal iterator" or "visitor". > However, I'd recommend against ad

Re: Clojure on CLR/DLR

2009-02-17 Thread Matt Revelle
On Feb 17, 2009, at 10:32 AM, Dan wrote: > > > So, as a long-time .NET guy, IronClojure seems like the best name, > in > > terms of making it obvious what it does: it's like IronRuby/Python, > > but it's Clojure. Failing that, it seems like NClojure fits the > > pattern of other JVM-ported eff

Re: calling Clojure functions from Java

2009-02-13 Thread Matt Revelle
Mark, In case you were asking how to call a Clojure function from Java without wrapping it, check out clojure.lang.IFn and AFn. For example, say you prefer to write a class in Java but need to accept a Clojure fn as an argument in one of the class methods: public int callFromClojure(IFn clo

Re: reader macros

2009-01-23 Thread Matt Revelle
On Jan 23, 2009, at 4:18 PM, Mark Volkmann wrote: > > On Fri, Jan 23, 2009 at 3:00 PM, Chouser wrote: >> >> On Fri, Jan 23, 2009 at 2:17 PM, Mark Volkmann >> wrote: >>> >>> Are all of these considered "reader macros"? >> [snip] >>> Is it correct that these are not considered "reader macros"?

Re: Basic about setting upp Clojure and editor enviroment

2009-01-21 Thread Matt Revelle
On Jan 21, 2009, at 11:33 AM, Tom Ayerst wrote: > If you are an emacs fan I am told Clojurebox, no contest. If you already use Emacs but aren't sure how to get Clojure support setup, Bill Clementson has plenty of helpful posts: http://bc.tech.coop/blog/081023.html http://bc.tech.coop/blog/0812

Re: swank-clojure license

2009-01-17 Thread Matt Revelle
On Jan 17, 2009, at 5:03 PM, Stuart Sierra wrote: > > On Dec 31 2008, 5:16 am, lpetit wrote: >> I re-read my original post, and it seems clear to me : I stated I >> wish >> to embed swank-clojure files into clojure-dev plugin. > > I do not see a conflict here, provided you do not modify swank

Re: Common backend project?

2009-01-17 Thread Matt Revelle
On Jan 17, 2009, at 1:47 PM, Peter Wolf wrote: > > Sure, good idea. I'm in! > > As a first cut, I think we need to separate those tools written in JVM > languages (Clojure/Java) and those written in something else. > > I certainly think the JVM based projects can, and should, share > components.

Re: clojure repl quits after calling static java method

2009-01-17 Thread Matt Revelle
On Jan 16, 2009, at 9:40 PM, larry wrote: > > I'm calling a java static method Play.midi in JMusic from Clojure > REPL. > After it plays the notes and says: "completed MIDI playback", the > Clojure REPL quits. > How do I keep the Clojure REPL from quitting after making this call to > Java? JMus

Re: Possible minor bug in gen-class: method name character escaping?

2009-01-16 Thread Matt Revelle
On Jan 16, 2009, at 2:46 PM, Greg Harman wrote: > > As I chew on this, a couple of things don't sit right with me > regarding use cases: > > 1. IMHO gen-class should fail with an appropriate message/exception > rather than trying to "fix" the signature. This is what the Java > compiler would do

Re: command-line in clojure.contrib suggestions

2009-01-15 Thread Matt Revelle
On Jan 15, 2009, at 10:51 AM, Chouser wrote: > > On Mon, Jan 12, 2009 at 10:58 PM, aria42 wrote: >> >> Couldn't it have access to the other bindings so far like let? And >> then just have the order of options reflect the partial order induced >> by dependency? So is this possible... >> >> (with

Re: [ANN] Ring: A Web application library for Clojure.

2009-01-12 Thread Matt Revelle
Mark, This looks great! Thanks for writing and sharing. -Matt On Jan 12, 2009, at 11:45 PM, Mark McGranaghan wrote: > > Hi All, > > I'm happy to announce the alpha release of 'Ring', a library inspired > by Python's WSGI and Ruby's Rack for developing web applications in > Clojure. > > I've m

Re: Example Java oriented SWT GUI application in Clojure

2009-01-12 Thread Matt Revelle
http://clojure.org/vars#toc1 On Jan 12, 2009, at 9:42 PM, e wrote: > what is "set!"? I don't see that in the api > > On Mon, Jan 12, 2009 at 5:24 PM, BerlinBrown > wrote: > > Here is an example SWT application. It is a 'search' tool. Open a > file and the search term is highlighted. It has

Re: Clojure blog post about laziness

2009-01-08 Thread Matt Revelle
On Jan 8, 2009, at 8:55 AM, Rich Hickey wrote: > > > > On Jan 8, 7:26 am, Konrad Hinsen wrote: >> On 08.01.2009, at 11:22, Mark Engelberg wrote: >> >>> So my blog post has a dual purpose. First, I explain the "gotcha" >>> that Stuart and I discussed. Second, I report back to the community >

Re: REPL Subtleties. Emacs inferior-mode.

2008-12-30 Thread Matt Revelle
On Dec 30, 2008, at 9:13 PM, CuppoJava wrote: > > Thanks Matt, > I was actually hoping for you to reply. I found one of your earlier > posts mentioning that you got JME working properly interactively with > the REPL. > > Unfortunately, your solution didn't seem to work. I seem to be having > the

Re: REPL Subtleties. Emacs inferior-mode.

2008-12-30 Thread Matt Revelle
On Dec 30, 2008, at 5:53 PM, CuppoJava wrote: > > Hi, > I'm just noticing some subtle threading problems when running a Jme > application from the REPL within inferior-lisp mode Emacs. > > For instance this works: > > (. jmetest.renderer.TestArrow main nil) > > But this doesn't: (attempting to e

Re: making code readable

2008-12-29 Thread Matt Revelle
On Dec 29, 2008, at 10:45 AM, Mark Volkmann wrote: > > On Mon, Dec 29, 2008 at 5:44 AM, Mark Volkmann > wrote: > >> I would like to produce a version of the snake code that could serve >> as an example of the kind of code that the Clojure community thinks >> is >> "good". Unless it's part of a

Re: trolltech QT opengl SLIME REPL mac os x

2008-12-18 Thread Matt Revelle
On Dec 18, 2008, at 4:35 PM, Michael Reid wrote: > > For what its worth, I've had a similar setup working on Mac OS X 10.5: > > Aquamacs > SLIME > jogl-1.1.1 > > I'm pretty sure I'm running Java 1.6 (can't check now). I had no > issues with hangs. Perhaps QT is the bad ingredient. I'm thinking t

Re: Calling superclass methods from implemented methods

2008-12-09 Thread Matt Revelle
On Dec 9, 2008, at 10:03 AM, Rich Hickey wrote: > > > > On Dec 9, 12:24 am, Matt Revelle <[EMAIL PROTECTED]> wrote: >> The attached patch adds :super-methods option to generate-class as a >> map, {local-name [name [param-types] return-type], ...}. The >> me

Re: Calling superclass methods from implemented methods

2008-12-08 Thread Matt Revelle
ss_expose-super-methods.diff Description: Binary data On Dec 8, 2008, at 10:59 AM, Rich Hickey wrote: > > > > On Dec 8, 9:30 am, Matt Revelle <[EMAIL PROTECTED]> wrote: >> I'm working on a patch to add support for calling the superclass' >> implementati

Re: Calling superclass methods from implemented methods

2008-12-08 Thread Matt Revelle
> On Dec 8, 9:30 am, Matt Revelle <[EMAIL PROTECTED]> wrote: >> I'm working on a patch to add support for calling the superclass' >> implementation of a method when overriding a method in Clojure with >> ns/:genclass. This looks like it requires a

Calling superclass methods from implemented methods

2008-12-08 Thread Matt Revelle
I'm working on a patch to add support for calling the superclass' implementation of a method when overriding a method in Clojure with ns/:genclass. This looks like it requires a modification of the InstanceMethodExpr class in clojure.lang.Compiler. The proposed syntax would be: (. super/

Re: Supporting protected fields in genclass

2008-12-02 Thread Matt Revelle
4 PM, Rich Hickey wrote: > > > > On Dec 1, 2:57 pm, Matt Revelle <[EMAIL PROTECTED]> wrote: >> Yes, this again. Now that we have AOT, I wanted to revisit >> supporting >> the exposing of inherited protected fields that originate from >> fa

Re: Supporting protected fields in genclass

2008-12-01 Thread Matt Revelle
ields.diff Description: Binary data On Dec 1, 2008, at 3:44 PM, Rich Hickey wrote: > > > > On Dec 1, 2:57 pm, Matt Revelle <[EMAIL PROTECTED]> wrote: >> Yes, this again. Now that we have AOT, I wanted to revisit >> supporting >> the exposing of inherited pro

Re: Supporting protected fields in genclass

2008-12-01 Thread Matt Revelle
Rich, Will make the change and resubmit tonight or tomorrow night. Having computer issues this evening. -Matt On Dec 1, 2008, at 3:44 PM, Rich Hickey <[EMAIL PROTECTED]> wrote: > > > > On Dec 1, 2:57 pm, Matt Revelle <[EMAIL PROTECTED]> wrote: >> Yes, this a

Supporting protected fields in genclass

2008-12-01 Thread Matt Revelle
Yes, this again. Now that we have AOT, I wanted to revisit supporting the exposing of inherited protected fields that originate from farther up the hierarchy chain than the super class. Attached is a patch against SVN revision 1133. I promise to never bring this up again. =) -Matt --~--~

Re: Patch: universal main() with repl/script/compile

2008-11-23 Thread Matt Revelle
On Nov 23, 2008, at 2:30 PM, Stuart Sierra wrote: > > On Nov 22, 3:57 pm, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote: >> But... what are we thinking? Along the lines of Rich's suggestion the >> other day... I'm thinking we should stick to the very simple >> Compile.java to solve the bootstra

Re: clojure slime

2008-11-19 Thread Matt Revelle
I also made updates to support the doto change, if git is easier for you then pull from git://github.com/mattrepl/swank-clojure.git -Matt On Nov 19, 2008, at 1:30 PM, Stephen C. Gilardi wrote: > On Nov 19, 2008, at 1:15 PM, Mike Hinchey wrote: >> Clojure svn 1110 does work with latest swank-c

Re: Working combination of .emacs, Aquamacs, swank-clojure, clojure-mode?

2008-11-18 Thread Matt Revelle
On 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 bett

Re: POLL: Domain name for project hosting site.

2008-11-18 Thread Matt Revelle
+1 On Nov 18, 2008, at 8:27 AM, blackdog <[EMAIL PROTECTED]> wrote: > > > +1 > > On Tue, 18 Nov 2008 04:54:22 -0800 (PST) > David <[EMAIL PROTECTED]> wrote: > >> >> I'm not in favour of slangish derivatives. They're good for code- >> names, but when you get serious, a silly name is an obstacle.

Re: POLL: Domain name for project hosting site.

2008-11-17 Thread Matt Revelle
On Nov 17, 2008, at 3:08 PM, "J. McConnell" <[EMAIL PROTECTED]> wrote: > > I'm liking projecture +1, at least from those options. Is the project site going to be more similar to the Python package index and CLiki or Sourceforge? I still think keeping the site focused on providing an index of

Re: Patch: standalone compiler (almost)

2008-11-17 Thread Matt Revelle
I like it and Obj-C inspired syntax on the JVM is cosmic justice. On Nov 17, 2008, at 2:37 PM, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote: > > On Nov 17, 2008, at 9:51 AM, Rich Hickey wrote: >> main now needs to be called -main, as all methods will be defined >> with leading -. > > Seei

Re: Stupid Newbie Question-- Auto Indenting in SLIME -- Fixed

2008-11-16 Thread Matt Revelle
On Nov 16, 2008, at 2:40 PM, Peter Wolf <[EMAIL PROTECTED]> wrote: > > This is for the other NOOBs... > > Apparently to use SLIME with Clojure, you need to install a Common > Lisp. This is not the case. > > > I assumed that SLIME was written in EMACS Lisp, but apparently not. > In > his Bl

Re: Print compiled Clojure svn revision?

2008-11-14 Thread Matt Revelle
ot;Graham Fawcett" <[EMAIL PROTECTED]> wrote: > > On Sat, Nov 8, 2008 at 12:03 PM, Matt Revelle <[EMAIL PROTECTED]> > wrote: >> >> If marking SVN revisions and/or release versions is something we >> still >> want and want automated, it n

Re: The Dread Revision 1089

2008-11-10 Thread Matt Revelle
On Nov 10, 2008, at 9:46 AM, "Graham Fawcett" <[EMAIL PROTECTED]> 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 mergin

Re: Print compiled Clojure svn revision?

2008-11-08 Thread Matt Revelle
If marking SVN revisions and/or release versions is something we still want and want automated, it now looks like using the build tool is the only way to go. The example I sent earlier to the list includes the creation of a "versioninfo" file from the build script which is then read and s

Re: Print compiled Clojure svn revision?

2008-11-07 Thread Matt Revelle
I'm in a rush and need to clean this up, but here's something that works: Index: build.xml === --- build.xml (revision 1088) +++ build.xml (working copy) @@ -11,6 +11,7 @@ +

Re: Print compiled Clojure svn revision?

2008-11-07 Thread Matt Revelle
uot; task in the build file smart enough to determine which, if any, should be used for requesting the version. The other option is to add a commit hook that will update the contents of some file with the current revision. The latter option is starting to sound better. > > > On Fri,

Re: Print compiled Clojure svn revision?

2008-11-07 Thread Matt Revelle
I'm just finishing up an addition to the build script that executes "svnversion" and stores the result in a "versioninfo" file that would be placed in the clojure.jar file and the value stored in a *version* var in boot.clj. If someone is building from source, I think we can assume they hav

Re: Nother N00B Question

2008-11-05 Thread Matt Revelle
On Nov 5, 2008, at 3:01 PM, Peter Wolf wrote: > > I just browsed Stuart's wonderful book. Lots of great stuff, which I > will enjoy working though > > However, I didn't find a section that talks about how to do > non-functional stuff in Clojure. Might be a good section to add for > N00Bs > >

Re: Programming Clojure beta book now available

2008-11-05 Thread Matt Revelle
On Nov 5, 2008, at 12:56 PM, bc wrote: > > Since nobody else has mentioned it, I thought people on this group > would be interested to know that Stuart Halloway's new Clojure book > "Programming Clojure" is now available. I've also announced it on my > blog: > http://bc.tech.coop/blog/081105.htm

Re: Open Source project hosting for clojure.

2008-11-03 Thread Matt Revelle
On Nov 3, 2008, at 4:09 PM, Paul Stadig wrote: > > Hey Drew, > I'd like to see this come to fruition, and help administer if needed. I'll volunteer some time to help admin as well. > > > Coming from Ruby (most recently) I may have a Ruby bias, but I think > that RubyForge has been a great boon

Re: Back on max again...

2008-11-03 Thread Matt Revelle
On Nov 3, 2008, at 9:35 PM, Mark H. wrote: > > On Nov 3, 5:39 pm, "Paul Stadig" <[EMAIL PROTECTED]> wrote: >> Could/Should the max function be modified to work against the >> Comparable interface instead of expecting its arguments to be >> numbers? >> >> I'm working with a sequence of strings

Submitting patches

2008-10-19 Thread Matt Revelle
Rich, I submitted a patch that adds support for exposing protected fields inherited indirectly through the super class in gen-class. No problem if it's unwanted, but would be good to know either way. Suppose the original message should've had "patch" in the subject line; it's "exposing ancestra

Exposing ancestral protected fields with gen-class

2008-10-16 Thread Matt Revelle
The previously attached patch didn't make find-field private, sorry about that. genclass_find-field.patch Description: Binary data

Exposing ancestral protected fields with gen-class

2008-10-16 Thread Matt Revelle
The gen-class function supports generation of getter/setter functions for protected fields of the super class, but as currently implemented it does not support exposing protected fields declared further up the class hierarchy. The attached patch adds a private find-field function to genclass

Re: Quick way to kill slime with clojure

2008-10-03 Thread Matt Revelle
DVCS confusion. Jeff's repository is canonical for swank-clojure and clojure-mode and only folks working on those projects will likely be interested in other repos. On Oct 3, 2008, at 7:22 AM, "Paul Stadig" <[EMAIL PROTECTED]> wrote: > I figured it out. It was user error. I was up-to-date w

Re: Generate exposers for ancestral fields

2008-09-17 Thread Matt Revelle
rences a field, priv, that is not protected [Thrown class java.lang.Exception] The patch can be found in the group's files section as "exposers- hierarchy-traversing.diff". My CA went out today. -Matt On Sep 16, 2008, at 1:06 PM, Rich Hickey wrote: > > > >

Re: Generate exposers for ancestral fields

2008-09-16 Thread Matt Revelle
On Sep 16, 2008, at 1:06 PM, Rich Hickey wrote: > > > > On Sep 16, 11:12 am, Matt Revelle <[EMAIL PROTECTED]> wrote: >> Rich, >> >> Should I send in a CA and add ancestry verification and error >> handling >> or is this an unacceptable change

Re: Generate exposers for ancestral fields

2008-09-16 Thread Matt Revelle
Rich, Should I send in a CA and add ancestry verification and error handling or is this an unacceptable change? -Matt On Sep 15, 12:22 am, Matt Revelle <[EMAIL PROTECTED]> wrote: > I modifed clojure/genclass to support adding exposer methods for   > protected fields in classes h

Re: clojure rant

2008-09-12 Thread Matt Revelle
t; > This is what I have now in my .emacs: > > (require 'clojure-mode) > (require 'clojure-auto) > (require 'swank-clojure-autoload) > > (setq swank-clojure-jar-path ) > > When I start emacs - I get an error > > > > > > > -

Re: clojure rant

2008-09-12 Thread Matt Revelle
om: "Alexey Goldin" <[EMAIL PROTECTED]> > To: "Clojure" > Sent: Saturday, September 13, 2008 10:34:24 AM GMT +05:30 Chennai, > Kolkata, Mumbai, New Delhi > Subject: Re: clojure rant > > > Oh. Thanks, will try right now. I am doing this on Friday night a

Re: Clojure Poll 09/2008

2008-09-12 Thread Matt Revelle
On Sep 10, 2008, at 2:40 PM, Rich Hickey wrote: > > As we rapidly approach 500 members on the group (!) I thought it would > be a good time to conduct another poll: > > What are you doing with Clojure? > Building a system for defining and manipulating movement of rigid limbs. That involves v

Re: clojure/ns and gen-and-save-class

2008-09-03 Thread Matt Revelle
On Sep 3, 2008, at 4:59 PM, Chouser wrote: > > On Wed, Sep 3, 2008 at 4:36 PM, Stephen C. Gilardi > <[EMAIL PROTECTED]> wrote: >> I have been thinking recently that "(:refer ...)" would make a good >> supported reference argument. Instead of "(:refer-clojure ...)", I >> suggest >> "(:refer .

Re: Clojure Robustness

2008-09-03 Thread Matt Revelle
Chas, Did that edge case ever come up on the list? If not, would you mind sharing now? -Matt On Sep 3, 2008, at 1:46 PM, Chas Emerick wrote: > > We've not gone to production with Clojure code yet, but that day is > fast approaching. Every indication is that it's "ready for prime > time", a