Re: TDD with Leiningen

2011-12-01 Thread Adam Getchell
(Compiler.java:6416) at clojure.lang.Compiler.analyze(Compiler.java:6216) at clojure.lang.Compiler.analyze(Compiler.java:6177) at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3452) ... What am I doing wrong? Thanks, Adam On Wed, Nov 30, 2011 at 10:30 PM, Adam

Re: TDD with Leiningen

2011-12-01 Thread Adam Getchell
Testing Newton.test.core Ran 1 tests containing 1 assertions. 0 failures, 0 errors. Okay, I paradigm down, several to go! Adam On Wed, Nov 30, 2011 at 11:36 PM, Adam Getchell adam.getch...@gmail.comwrote: So, here's an example: In the file C:\Projects\CDT\Newton\src\Newton.utilities.clj I have

Want some books or issues about ClojureCLR

2011-11-27 Thread * 巫云**Adam
I am learning Clojure and I use the CLR version. But I can not find a book about Clojure CLR, just for Clojure and java. I want someone give me suggestions about the book or issues of Clojure CLR. Thanks a lot. -- You received this message because you are subscribed to the Google Groups Clojure

Re: The Last Programming Language

2011-07-19 Thread Adam Richardson
families like the Lisps, MLs, etc.). If he's arguing that Clojure, specifically, could be it, modulo incremental refinements, it's not in the text on the page you linked to. Watch the video and you'll see the comment Tim is referencing. Adam -- You received this message because you are subscribed

Re: The Last Programming Language

2011-07-19 Thread Adam Richardson
. There has been significant development in languages, just not in the popular languages. It's been over there in the fringe languages. You'd think the camel icon on the official website would give it away :) Adam -- You received this message because you are subscribed to the Google Groups Clojure

Re: The Last Programming Language

2011-07-19 Thread Adam Richardson
can recite Pi to, but I would like to know how his experience with awk-a-mel lead him to believe that functional programming comes down to protecting variable assignment :) That all said, if Clojure is the seed for the last language, I'd be a happy man. Adam -- You received this message because

Re: The Last Programming Language

2011-07-19 Thread Adam Richardson
On Tue, Jul 19, 2011 at 9:04 PM, daly d...@axiom-developer.org wrote: On Tue, 2011-07-19 at 20:14 -0400, Adam Richardson wrote: On Tue, Jul 19, 2011 at 6:23 PM, Brian Hurt bhur...@gmail.com wrote: What's this awk-a-mel he speaks of? Ocaml, pronounced oh-camel, I

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Adam Burry
-read the OP. The right hand column has two parts: the top part shows REPL evaluation, the bottom part is your REPL input window. Adam -- 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

Re: Anyone on Google+ yet?

2011-07-14 Thread Adam Burry
The man himself: https://plus.google.com/101598622654270873929/posts On Jul 14, 3:12 pm, Claudia Doppioslash claudia.doppiosl...@gmail.com wrote: My Clojure circle is all set up but empty. My g+ is:http://gplus.to/gattoclaudia Please add link to your profile below. -- You received this

Re: Anyone on Google+ yet?

2011-07-14 Thread Adam
https://plus.google.com/u/0/115627632525564353062/posts ~Adam~ On Thu, Jul 14, 2011 at 13:42, Tuba Lambanog tuba.lamba...@gmail.comwrote: http://profiles.google.com/tuba.lambanog On Thu, Jul 14, 2011 at 11:12 AM, Claudia Doppioslash claudia.doppiosl...@gmail.com wrote: My Clojure

Re: Results from 2011 State of Clojure survey

2011-07-12 Thread Adam Burry
you use the same Black and Decker tools that home builders use. Adam -- 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

Re: swank-clojure/lein/emacs

2011-07-01 Thread Adam
? --- Adam On Jun 6, 3:00 pm, John Toohey j...@parspro.com wrote: I had this problem on OSX. To fix it, I removed the swank dependency from my project.clj file, then I ranleindeps to clear any old copies. Follow that withleinplugin install clojure-swank 1.3.1 and finallyleinswank. On Sun

Re: clojure.contrib.priority-map issue

2011-05-21 Thread Adam Ashenfelter
Great - and many thanks for the nice data structure! -- 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.

clojure.contrib.priority-map issue

2011-05-20 Thread Adam Ashenfelter
I've been using priority-map from clojure-contrib: https://github.com/clojure/clojure-contrib/blob/master/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj Peek and pop don't work as I expected after doing a dissoc for an object not contained in the map. I'm pretty new to

Re: Learning Idiomatic Clojure

2011-05-12 Thread Adam Burry
. The problem is I have not looked at any Haskel books, but I expect it would be a better place to read about the joys of laziness. Adam -- 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

Re: A simulation of the Monty Hall Problem

2011-05-10 Thread Adam Burry
Ken: FYI, the best treatment of this problem I have seen is this one: http://www.cs.utoronto.ca/~hehner/PPP.pdf Adam -- 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

Re: Eval destroys equality

2011-05-06 Thread Adam Burry
kinds of functions.  If that is what you are after, go for it. I don't think anyone expects quick sort to compare equal to bubble sort or anything like that. I think the issue is to get two functions with the same textual representation to compare equal. Adam -- You received this message because

Re: Monad Lessons

2011-03-12 Thread Adam
be useful to people joining the session. I've been following those and they're awesome. Thanks for putting them together! ~Adam~ -- 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

Re: Monad Lessons

2011-03-10 Thread Adam
I'd be interested as well; sounds awesome :) Thanks for your offer, ~Adam~ -- 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

Re: Realtime Clojure program

2011-02-14 Thread Adam Burry
for specific ways to speed up but I thought I could at least ask a general question. Have you tried: (set! *warn-on-reflection* true) Adam Burry -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: api doc for clojure/libraries

2011-01-24 Thread Adam
I personally find clojure docs (http://clojuredocs.org/) to be the best source of core/contrib documentation. ~Adam~ -- 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

Re: [ANN] fs - file system utilities for Clojure

2011-01-19 Thread Adam
) 28: clojure.lang.RestFn.invoke(RestFn.java:398) 29: clojure.lang.AFn.run(AFn.java:24) 30: java.lang.Thread.run(Unknown Source) ~Adam~ -- 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

Re: finding value nearest x

2010-09-27 Thread Adam Burry
://en.wikipedia.org/wiki/Kd-tree Adam -- 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 unsubscribe

Re: A difficult Metaphor for Macros (especially for Java people)

2010-09-10 Thread Adam Burry
they'd let you do logic gates, before they'd let you do microprocessors, before they'd let you do assembly, before they'd let you do C, before they'd let you do algorithms, before they'd let you do AI. Which is all you ever *really* wanted to do in the first place! Adam -- You received

Re: A difficult Metaphor for Macros (especially for Java people)

2010-09-10 Thread Adam Burry
On Sep 10, 1:10 pm, lprefonta...@softaddicts.ca wrote: Adam Burry abu...@gmail.com wrote .. On Sep 9, 5:06 pm, alux alu...@googlemail.com wrote: But, @Luc pushing the advantage of Lisp macros to the forefront is not obvious if the audience cannot compare with another (good/simple

Re: A difficult Metaphor for Macros (especially for Java people)

2010-09-08 Thread Adam Burry
be obvious and familiar to everyone. The complexity comes from the particulars of how you write good macros in your lisp. And mastery of that is primarily a function of writing your own and reading good examples. Adam -- You received this message because you are subscribed to the Google Groups

Re: Why the mix of dot syntax in clojure.core?

2010-08-22 Thread Adam Schmideg
for the patch -- Adam -- 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 unsubscribe from this group, send

Re: What is the reason Lisp code is not written with closing parenthesis on new lines?

2010-08-19 Thread Adam Burry
On Aug 18, 3:26 pm, Nicolas Oury nicolas.o...@gmail.com wrote: There is no law. Do what is best for you. But there OUGHT to be a law. Adam -- 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

Re: What's a single-segment namespace and why should it be avoided?

2010-08-13 Thread Adam Schmideg
someone else might provide more details. I just go with the JVM doesn't like it. Don't do it. You can't call anything in the default package from a regular package. But I think (ns foo) would compile into a foo package, so this wouldn't be a problem. Adam -- You received this message because

ANN: Lambdebug, A stepping debugger for the REPL

2010-08-13 Thread Adam Schmideg
Hi, this is my attempt to enter the Clojure debugger market :) Feedbacks are welcome, and thanks to Kotka for his comment on the previous version. You can find it at http://lambdebug.github.com Adam -- You received this message because you are subscribed to the Google Groups Clojure group

ns-resolve throws ClassNotFoundException

2010-08-02 Thread Adam Schmideg
While (ns-resolve nspace 'unknown) returns nil, if I try (ns-resolve nspace 'something.unknown) it throws a ClassNotFoundException. I would expect it to silently return nil. Is this a bug, or it has a rationale? -- You received this message because you are subscribed to the Google Groups

Idea - generic conversion multimethod

2010-07-23 Thread Adam Schmideg
(Integer/parseInt s) (catch NumberFormatException e nil))) (defmethod to [String Integer] [i _] (str i)) etc and we can simply use (to Integer 3) Besides simplicity, this would be more easily extensible, so it would fit nicely into some c.c.generic namespace. What do you think? Adam -- You

Re: Stepping, debugging in REPL

2010-07-15 Thread Adam Schmideg
Hi Meikel, thanks for your feedback. On Jul 14, 11:17 am, Meikel Brandmeyer m...@kotka.de wrote: Hi, On Jul 13, 10:24 am, Adam Schmideg a...@schmideg.net wrote: I just made this debugger.  It works but is still a bit rough around the edges.  I'd be happy to hear your feedback.http

Re: Stepping, debugging in REPL

2010-07-15 Thread Adam Schmideg
Thank you, Meikel, for trying it out and for your feedback. It seems there is more work ahead to be done. Jul 14, 11:17 am, Meikel Brandmeyer m...@kotka.de wrote: Hi, On Jul 13, 10:24 am, Adam Schmideg a...@schmideg.net wrote: I just made this debugger.  It works but is still a bit rough

Stepping, debugging in REPL

2010-07-13 Thread Adam Schmideg
I just made this debugger. It works but is still a bit rough around the edges. I'd be happy to hear your feedback. http://code.google.com/p/taskberry/wiki/Stepl -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Easier way to run Clojure from command line?

2010-05-08 Thread Adam Jones
Have you seen Leiningen? [1]. It seems like it will do what you want with lein repl, and additionally it has some nice features for acquiring dependencies and building a .jar from your project. [1] http://github.com/technomancy/leiningen#readme On May 7, 1:43 pm, Jason Smith ja...@lilypepper.com

Re: How to achieve indirection?

2009-07-17 Thread Adam Smyczek
(app.data.lazy and app.data.eager). The function names and signatures are same in both libs, but the implementations differ. By referring to the appropriate lib I decide what implementation to use. Adam On Jul 16, 2009, at 10:47 PM, Eric Tschetter wrote: One other option is to use binding

Re: What's the difference between `ref-set` and `alter`?

2009-06-19 Thread Adam Blinkinsop
On Jun 18, 3:34 pm, Rich Hickey richhic...@gmail.com wrote: On Jun 18, 5:23 pm, Stephen C. Gilardi squee...@mac.com wrote: On Jun 18, 2009, at 1:25 PM, Adam Blinkinsop wrote: Does ref-set not set the in-transaction-value?  It looks like the   only difference is the signature

What's the difference between `ref-set` and `alter`?

2009-06-18 Thread Adam Blinkinsop
be right. -- Adam Blinkinsop bli...@acm.org --~--~-~--~~~---~--~~ 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

Re: Simple sequence question: inserting something after blocks of fulfilling elements

2009-04-22 Thread Adam Blinkinsop
after any block of elements that fulfill it,... Perhaps a little context is in order? -- Adam Blinkinsop bli...@acm.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: Problem with CLASSPATH

2009-04-20 Thread Adam Blinkinsop
On Apr 5, 1:32 pm, dlb d...@davidlballenger.com wrote: I have the same problem on my Mac as well, i.e. if clojure.jar is loaded from ~/Library/Java/Extensions rather than from the classpath, then clojure does not find files on the classpath.  I did some poking around and on my Mac OS X 10.5.6

Re: [jvm-l] Kawa Scheme on Android

2008-12-29 Thread Adam King
for clojure.core__init). As mentioned in the issue report, it now crashes with a VerifyError on StringBuilder.append() - which you mentioned you're going to look into soon. Cheers, Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed

Best practice for handling errors inside macros?

2008-12-23 Thread Adam Harrison (Clojure)
didn't intend then to evaluate args in the print branch, which may result in a list of different length. Or is it considered bad form to throw exceptions at macro time, and hence definition (1) should always be used? Best Regards, Adam. --~--~-~--~~~---~--~~ You

Re: SPARQL DSL - a humble request for review and guidance

2008-12-23 Thread Adam Harrison (Clojure)
beginning with '?' as keywords? And is read-table control the same thing as reader macros? Best Regards, Adam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

SPARQL DSL - a humble request for review and guidance

2008-12-21 Thread Adam Harrison (Clojure)
back to the REPL for me :) Best Regards, Adam Harrison --~--~-~--~~~---~--~~ 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

Re: Monads in Clojure

2008-11-23 Thread Adam Jones
On Nov 23, 1:15 pm, Konrad Hinsen [EMAIL PROTECTED] wrote: On 21.11.2008, at 20:10, Adam Jones wrote: The file contains the macro definitions, the definitions of three popular monads (maybe, list, state), and some illustrations of their use. Comments are welcome! Since they support

Re: Eager map?

2008-11-17 Thread Adam Jones
of the lazy functions unless they absolutely aren't needed. -Adam -- Robert Ewald --~--~-~--~~~---~--~~ 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

Re: Daily Build

2008-11-17 Thread Adam Jones
of the trunk a bit. You may want to see how revision 1088 (svn co -r 1088 http://clojure.svn.sourceforge.net/svnroot/clojure/trunk) builds for you. It's the last revision before the AOT compilation project started. -Adam Robert --~--~-~--~~~---~--~~ You received this message

Re: reader macros

2008-11-15 Thread Adam Jones
] http://en.wikibooks.org/wiki/Clojure_Programming#Shebang_Scripting_in_Clojure -Adam Thanks, Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Weighted Edge Representation

2008-10-30 Thread Adam Jones
a crack at implementing this when I have the time, but I have yet to find time to even read the paper, so don't let my intentions stop anyone. -Adam [1] http://web.engr.oregonstate.edu/~erwig/papers/abstracts.html#JFP01 Matt --~--~-~--~~~---~--~~ You received

Re: Reader + Macros on untrusted S Expressions: Security considerations?

2008-10-24 Thread Adam Jones
. -Adam --~--~-~--~~~---~--~~ 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

<    1   2