Re: Foreclojure

2009-06-25 Thread Emeka
accounting software in Clojure? Which area of accounting will it cover? Emeka On Thu, Jun 25, 2009 at 3:41 AM, fft1976 wrote: > > I know some of you are searching for names for your projects. I just > wanted to say that "Foreclojure" is taken! This will be an open-source > (but not GPL) accoun

Re: Adding source file information to compiler exceptions

2009-06-25 Thread vseguip
Ok the SCA agrrement says we can actually print/sign/scan the agreement ans den it via e-mail. Is this a possibility for Clojure or postal mail is the only one and true way? Cheers, V.Seguí On 18 jun, 09:28, vseguip wrote: > Thanks for the link, I hadn't seen it. It seems like an overkill for

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread James Reeves
On Jun 25, 5:38 am, Mark Addleman wrote: > Searching through this forum, I found many posts relating to improving > Clojure's error messages.  I stumbled across one where Rich makes a > plea for concrete suggestions to specific cases. Here's one that regularly confuses me: (prn [10) => jav

Re: Roadmap of Clojure 1.1

2009-06-25 Thread Jarkko Oranen
On Jun 25, 9:51 am, michael frericks wrote: > Hello, > > i am a little bit lost about the roadmap of clojure 1.1. Is there > anywhere an (evolving) list available of > > a) new features planned, > b) things that break Clojure 1.0 > c) and maybe removed features? You could take a look at the Cl

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread James Reeves
On Jun 25, 10:02 am, James Reeves wrote: > Here's one that regularly confuses me: > >   (prn [10) > >   => java.lang.Exception: Unmatched delimiter: ) > > Ideally the exception should correctly report the type of unmatched > bracket. In this case: > >   => java.lang.Exception: Unmatched delimiter

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Mark Addleman
java.lang.UnsupportedOperationException: nth not supported on this type: Symbol (db.clj:101) The line number isn't very useful because it is always the first line of the definition. To help me locate the error, it would be helpful to list the specific symbol such as "nth not supported on ':symbo

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Mark Addleman
On Jun 25, 4:15 am, Mark Addleman wrote: > java.lang.UnsupportedOperationException: nth not supported on this > type: Symbol (db.clj:101) It turns out this error was due to not specifying my macro's arg list within brackets: (defmacro with-table table rows & instructions ...) of course, it s

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Rich Hickey
On Thu, Jun 25, 2009 at 7:03 AM, James Reeves wrote: > > On Jun 25, 10:02 am, James Reeves wrote: >> Here's one that regularly confuses me: >> >>   (prn [10) >> >>   => java.lang.Exception: Unmatched delimiter: ) >> >> Ideally the exception should correctly report the type of unmatched >> bracket

Re: Convincing others about Clojure

2009-06-25 Thread Alan Busby
Make them watch the following video. http://ocaml.janestreet.com/?q=node/61 Although the video isn't about Clojure, I think most of the points regarding ML are true of Clojure as well. On Thu, Jun 25, 2009 at 3:50 PM, Timothy Pratley wrote: > > > 1. How do you get Clojure programmers? Lisp is

defn memory question

2009-06-25 Thread Rich Claxton
Hello I have just started learning Clojure and functional programming, quick question, what happens internally when I do a defn, does this create the byte code, or a ref to the function which is stored, as it does actually create a function object, I was just wondering about memory and GC issues.

Differences between 'compiled', 'clojure interpreted', 'clojure in a jar in classpath' and 'load'

2009-06-25 Thread BerlinBrown
I have a clojure application where each file has its own namespace (ns blah)...I generally let the files sit in a classpath directory, so I am assuming the clojure code is loaded at startup time. What are the differences between clojure code which is: 1. Compiled 2. Clojure code that is interpre

Re: defn memory question

2009-06-25 Thread Konrad Hinsen
On Jun 25, 2009, at 12:25, Rich Claxton wrote: > Hello I have just started learning Clojure and functional programming, > quick question, what happens internally when I do a defn, does this > create the byte code, or a ref to the function which is stored, as it > does actually create a function o

Re: defn memory question

2009-06-25 Thread Emeka
>From Steve's post Symbol objects are subject to garbage collection, but the "namespace" and "name" strings that identify them are not. Those strings are "interned" via the "intern" method on java.lang.String. Once a String is interned, there exists a single canonical String object that represents

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Chouser
On Thu, Jun 25, 2009 at 2:20 AM, Timothy Pratley wrote: > > Here are some of my common mistakes: > > user=> (def data (ref {})) > #'user/data > user=> (dosync alter data assoc :a "a") > "a" > user=> (dosync (alter data assoc :a "a")) > {:a "a"} > ;; leaving out the parenthesis on a dosync can be s

Re: [OT] Convincing others about Clojure

2009-06-25 Thread Nathan Hawkins
On Thu, 25 Jun 2009 11:29:24 +0530 Baishampayan Ghose wrote: > > Their concerns are thus: > > 1. How do you get Clojure programmers? Lisp is not for the faint > hearted. You can always ask on this list. I'd guess that at any given point in time there are probably several people who'd rather b

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Mark Addleman
On Jun 25, 4:26 am, Rich Hickey wrote: > On Thu, Jun 25, 2009 at 7:03 AM, James Reeves > wrote: > > > On Jun 25, 10:02 am, James Reeves wrote: > >> Here's one that regularly confuses me: > > >>   (prn [10) > > >>   => java.lang.Exception: Unmatched delimiter: ) > > >> Ideally the exception sh

Re: Convincing others about Clojure

2009-06-25 Thread Berlin Brown
On Jun 25, 9:31 am, Nathan Hawkins wrote: > On Thu, 25 Jun 2009 11:29:24 +0530 > > Baishampayan Ghose wrote: > > > Their concerns are thus: > > > 1. How do you get Clojure programmers? Lisp is not for the faint > > hearted. > > You can always ask on this list. I'd guess that at any given point

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Chouser
On Thu, Jun 25, 2009 at 12:38 AM, Mark Addleman wrote: > > Searching through this forum, I found many posts relating to improving > Clojure's error messages.  I stumbled across one where Rich makes a > plea for concrete suggestions to specific cases.  I'm very sympathetic > to that, so I'd like to

Re: Concatenating Regexes?

2009-06-25 Thread Chouser
On Wed, Jun 24, 2009 at 9:04 PM, Chouser wrote: > On Wed, Jun 24, 2009 at 6:13 PM, CuppoJava wrote: >> >> I need to dynamically create a regex, and would really like to be able >> to use Clojure's built-in regex syntax. But I don't know how to go >> about it. >> >> My regex is: #"(.*?)(\(image .*)

Re: Convincing others about Clojure

2009-06-25 Thread Berlin Brown
On Jun 25, 9:39 am, Berlin Brown wrote: > On Jun 25, 9:31 am, Nathan Hawkins wrote: > > > > > On Thu, 25 Jun 2009 11:29:24 +0530 > > > Baishampayan Ghose wrote: > > > > Their concerns are thus: > > > > 1. How do you get Clojure programmers? Lisp is not for the faint > > > hearted. > > > You c

Re: [OT] Convincing others about Clojure

2009-06-25 Thread Adrian Cuthbertson
> I need some pointers on this. This is a really crucial thing for me and > any help will be appreciated. Here's one - better warn them not to let on what the startup is. Someone here will get it to market an order of magnitude quicker than they will on some other platform :-). On Thu, Jun 25, 2

Re: Concatenating Regexes?

2009-06-25 Thread Christophe Grand
On Thu, Jun 25, 2009 at 4:05 PM, Chouser wrote: > > On Wed, Jun 24, 2009 at 9:04 PM, Chouser wrote: > > On Wed, Jun 24, 2009 at 6:13 PM, CuppoJava > wrote: > >> > >> I need to dynamically create a regex, and would really like to be able > >> to use Clojure's built-in regex syntax. But I don't kno

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread James Reeves
On Jun 25, 12:26 pm, Rich Hickey wrote: > But it doesn't know when it sees the ) that ] is missing, it might not be: > > (prn [10)] > > i.e. the ) has nothing to do with the [, there might not even be a > pending aggregate: > > user=> ) > java.lang.Exception: Unmatched delimiter: ) Good point. T

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Rich Hickey
On Jun 25, 9:36 am, Mark Addleman wrote: > On Jun 25, 4:26 am, Rich Hickey wrote: > > > > > > > On Thu, Jun 25, 2009 at 7:03 AM, James Reeves > > wrote: > > > > On Jun 25, 10:02 am, James Reeves wrote: > > >> Here's one that regularly confuses me: > > > >> (prn [10) > > > >> => java.lang

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread David Nolen
FWIW, this is the kind of problem that paredit mode in Emacs eliminates almost entirely. On Thu, Jun 25, 2009 at 11:14 AM, Rich Hickey wrote: > > > > On Jun 25, 9:36 am, Mark Addleman wrote: > > On Jun 25, 4:26 am, Rich Hickey wrote: > > > > > > > > > > > > > On Thu, Jun 25, 2009 at 7:03 AM, J

Re: Concatenating Regexes?

2009-06-25 Thread CuppoJava
I don't know what you mean by Pattern/quote, can you give me an example? And I really like Chouser's second method. That's very tidy! Thanks Chouser -Patrick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure"

"print" without separating spaces?

2009-06-25 Thread CuppoJava
Hi, Is there a "print" command that doesn't separate it's arguments using spaces? I wrote my own function to work-around this but hopefully it's already been done for me. (defn write [& strings] (print (apply str strings))) Thanks -Patrick --~--~-~--~~~---~--~

Re: defn memory question

2009-06-25 Thread Four of Seventeen
On Jun 25, 8:36 am, Emeka wrote: > From Steve's post > Symbol objects are subject to garbage collection, but the "namespace" and > "name" strings that identify them are not. Those strings are "interned" via > the "intern" method on java.lang.String. Recent JVMs do collect unused interned strings

Re: Differences between 'compiled', 'clojure interpreted', 'clojure in a jar in classpath' and 'load'

2009-06-25 Thread Four of Seventeen
On Jun 25, 8:31 am, BerlinBrown wrote: > I have a clojure application where each file has its own namespace (ns > blah)...I generally let the files sit in a classpath directory, so I > am assuming the clojure code is loaded at startup time. > > What are the differences between clojure code which

Re: Concatenating Regexes?

2009-06-25 Thread Christophe Grand
I was simply proposing a slight modification to Chouser's code: (defn my-regex [words] (re-pattern (.replace (str #"(.*?)(\((?:WORDS).*)") "WORDS" (str-join "|" (map #(Pattern/quote %) words) It will escape special characters in words. On Thu, Jun 25, 2009 at 5:

Re: [OT] Convincing others about Clojure

2009-06-25 Thread Daniel Lyons
BG, This kind of thing really burns me up. They trust you to implement the thing, but they don't trust you enough to pick the tools to implement the thing with. It's like telling your plumber what kind of pipes and wrenches to use. You wouldn't dare, unless you were a plumber already. The

Re: defn memory question

2009-06-25 Thread Stuart Sierra
On Jun 25, 6:25 am, Rich Claxton wrote: > Hello I have just started learning Clojure and functional programming, > quick question, what happens internally when I do a defn, does this > create the byte code, or a ref to the function which is stored, as it > does actually create a function object,

Re: Differences between 'compiled', 'clojure interpreted', 'clojure in a jar in classpath' and 'load'

2009-06-25 Thread Stuart Sierra
On Jun 25, 8:31 am, BerlinBrown wrote: > What are the differences between clojure code which is: > > 1. Compiled > 2. Clojure code that is interpreted (that just sits in the classpath) > 3. Clojure code that loads from a jar file > 4. Clojure code that gets load with the 'load' function. There i

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread James Reeves
On Jun 25, 4:14 pm, Rich Hickey wrote: > (let [x map inc nums)] ...) > > Clearly the message: "java.lang.Exception: Missing delimiter: ]" would > not be helpful here. But perhaps the message: java.lang.Exception: Unmatched delimiter ')', expecting ']' Would be quite useful? It would tell the

Re: Roadmap of Clojure 1.1

2009-06-25 Thread Stuart Sierra
On Jun 25, 2:51 am, michael frericks wrote: > a) new features planned, > b) things that break Clojure 1.0 > c) and maybe removed features? Check out http://clojure.org/todo -SS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: Foreclojure

2009-06-25 Thread Victor Rodriguez
On Thu, Jun 25, 2009 at 3:17 AM, Emeka wrote: > accounting software in Clojure? > Which area of accounting will it cover? Why, forclosures of course! (Sorry, couldn't resist). Cheers, Victor. > Emeka > > On Thu, Jun 25, 2009 at 3:41 AM, fft1976 wrote: >> >> I know some of you are searching f

Re: Convincing others about Clojure

2009-06-25 Thread cody
On Jun 25, 8:39 am, Berlin Brown wrote: > This is my main point: One thing that Clojure is NOT.  It is not > limited by the limitations of the Java programming language. > It may not be limited by the java _language_, but it is limited by the java _platform_. Given the OP's question about aca

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Ethan Herdrick
I think it's important that Clojure be good at exploring Java libraries. Helpful and correct error messages are important for this. I often go looking for a function at the REPL, like so: user=> substring java.lang.Exception: Unable to resolve symbol: substring in this context (NO_SOURCE_FILE:

A website written using Clojure.

2009-06-25 Thread CuppoJava
Hey guys, I was a little tired of working on what I am supposed to be working on, and decided to take a break and create a website. I decided to use Clojure, and to my surprise, it only took a day and less than 3 pages of code. members.shaw.ca/patrickli It only has a single article right now, un

Re: Convincing others about Clojure

2009-06-25 Thread Four of Seventeen
On Jun 25, 12:14 pm, cody wrote: > On Jun 25, 8:39 am, Berlin Brown wrote: > > > This is my main point: One thing that Clojure is NOT.  It is not > > limited by the limitations of the Java programming language. > > It may not be limited by the java _language_, but it is limited by the > java _pl

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Four of Seventeen
On Jun 25, 12:18 pm, James Reeves wrote: > Some languages go a step further, and highlight syntax errors directly > with some ASCII art: > >   Unmatched delimiter: >     (let [x map inc nums)] >                         ^ The javac compiler, for one. > Though that seems quite tricky to do within

Re: [OT] Convincing others about Clojure

2009-06-25 Thread Jonah Benton
FWIW, two points- Paul Graham, among others, has talked about issues like this. See for instance (about Python): http://www.paulgraham.com/pypar.html The argument about using new technologies in the startup context is generally that smarter people want to work with better tools at higher levels

Re: A website written using Clojure.

2009-06-25 Thread Emeka
That's cool. (doseq [[name tag] [['html "html"] ['head "head"] ['style "style"] ['title "title"] ['body "body"] ['table "table"] ['row "tr"] ['col "td"]

Re: Convincing others about Clojure

2009-06-25 Thread CuppoJava
I enjoyed Daniel Lyons post there. I recognize some Ayn Rand ideas there. Ever read Atlas Shrugged perchance? =) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clo

Re: Differences between 'compiled', 'clojure interpreted', 'clojure in a jar in classpath' and 'load'

2009-06-25 Thread Vagif Verdi
On Jun 25, 8:29 am, Stuart Sierra wrote: > So AOT-compilation makes the code slightly faster to *load* when your > application starts, because it doesn't have to compile the code on the > fly.  But Clojure compiler is very fast, so the difference is barely > noticeable. Actually i tried to load

Re: A website written using Clojure.

2009-06-25 Thread Daniel Lyons
On Jun 25, 2009, at 11:46 AM, CuppoJava wrote: > > Hey guys, > I was a little tired of working on what I am supposed to be working > on, and decided to take a break and create a website. I decided to use > Clojure, and to my surprise, it only took a day and less than 3 pages > of code. > > membe

Re: Convincing others about Clojure

2009-06-25 Thread Daniel Lyons
On Jun 25, 2009, at 12:39 PM, CuppoJava wrote: > > I enjoyed Daniel Lyons post there. I recognize some Ayn Rand ideas > there. Ever read Atlas Shrugged perchance? =) Thanks! Fountainhead yes, Atlas Shrugged no, actually. :) But my suggestions there come from my (limited) experience. She's a f

Re: A website written using Clojure.

2009-06-25 Thread CuppoJava
Thanks for the reply. I use doseq instead of map because I need it to run immediately, and I'm not interested in the return values of the functions. I also would love to be able to simply the (eval ...) part, but I don't know of any other way to dynamically define a function in Clojure. If you k

Re: Convincing others about Clojure

2009-06-25 Thread cody
On Jun 25, 12:58 pm, Four of Seventeen wrote: > So, Java is academic and impractical? Tell that to all the web server > admins deploying it routinely on their servers! The fact that Sun has managed to convince a lot of people that gobs of xml and multiple competing build systems are a good id

Re: A website written using Clojure.

2009-06-25 Thread Vagif Verdi
What server are you running it on ? Tomcat ? There's a compojure web framework that already has html combinator library. Check it out here: http://preview.compojure.org/docs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: A website written using Clojure.

2009-06-25 Thread CuppoJava
Thanks for your opinions Daniel. Yes I really need to adapt to using hyphens instead of underscores. I've irked more than a few people already. So far, defblockfn is serving me well, but it has bitten me a few times now. If I come up with another alternative I will switch over. -Patrick --~--~--

Re: A website written using Clojure.

2009-06-25 Thread CuppoJava
I'm not running off any server. All the pages are static html, which are generated by a Clojure script. I looked at Compojure, and it seems very promising, but I decided it was overkill for my website. -Patrick --~--~-~--~~~---~--~~ You received this message beca

Re: A website written using Clojure.

2009-06-25 Thread Daniel Lyons
On Jun 25, 2009, at 12:57 PM, CuppoJava wrote: > > I'm not running off any server. All the pages are static html, which > are generated by a Clojure script. Haha, that explains the speed. :) *slaps forehead* — Daniel Lyons --~--~-~--~~~---~--~~ You received th

Re: A website written using Clojure.

2009-06-25 Thread CuppoJava
Yeah. Speed and simplicity were my main reasons to use static HTML instead of running off a server. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegr

Re: A website written using Clojure.

2009-06-25 Thread Emeka
CuppoJava, Did you try prxml? May be it can be of help. Regards, Emeka --~--~-~--~~~---~--~~ 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 fr

Re: A website written using Clojure.

2009-06-25 Thread Emeka
CuppoJava, I was referring to the map data structure {'html "html"..} and not the other map. Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cl

Re: A website written using Clojure.

2009-06-25 Thread Mike Hinchey
Instead of eval in the doseq, you could use a macro with a do block, something like: user> (defmacro deftags [tags] `(do ~@(map (fn [tag] `(defn ~(symbol (str tag "-with")) [block#] (str ~tag block#))) tags))) #'user/deftags

Re: A website written using Clojure.

2009-06-25 Thread Berlin Brown
On Jun 25, 3:52 pm, Mike Hinchey wrote: > Instead of eval in the doseq, you could use a macro with a do block, > something like: > user> (defmacro deftags [tags] >         `(do ~@(map (fn [tag] >                       `(defn ~(symbol (str tag "-with")) >                          [block#] (str ~

Re: A website written using Clojure.

2009-06-25 Thread CuppoJava
Thanks Mike for that tip. That seems a bit better, but then I have a left-over macro that I have no use for. As to why I didn't use a map. I needed destructuring so Clojure would have internally turned the map into a seq anyway. Though a map would save me from a layer of parenthesis. I'll keep th

Re: A website written using Clojure.

2009-06-25 Thread Daniel Lyons
On Jun 25, 2009, at 1:59 PM, Berlin Brown wrote: > But does anyone have a problem with Lisp/S-Expressions to HTML/XHtml, > especially for the entire document. What is wrong with using some > form of templating system. I think that is what Lisp has (see Lisp's > Html-template). http://weitz.de/

Re: [OT] Convincing others about Clojure

2009-06-25 Thread Raoul Duke
> I need some pointers on this. This is a really crucial thing for me and > any help will be appreciated. http://weblog.raganwald.com/2007/01/what-ive-learned-from-sales-part-i.html sincerely. --~--~-~--~~~---~--~~ You received this message because you are subscr

Problem error message

2009-06-25 Thread Four of Seventeen
Got this doing a load-file: # Full stack trace: java.lang.ClassFormatError: Unknown constant tag 116 in class file com/ foo/bar$eval__10559 (NO_SOURCE_FILE:0) at clojure.lang.Compiler.eval(Compiler.java:4543) at clojure.core$eval__3990.invoke(core.clj:1728) at clojure.ma

Re: "print" without separating spaces?

2009-06-25 Thread Stephen C. Gilardi
On Jun 25, 2009, at 11:43 AM, CuppoJava wrote: Is there a "print" command that doesn't separate it's arguments using spaces? I wrote my own function to work-around this but hopefully it's already been done for me. (defn write [& strings] (print (apply str strings))) Hi Patrick, Clojure als

Re: Problem error message

2009-06-25 Thread Stephen C. Gilardi
On Jun 25, 2009, at 5:00 PM, Four of Seventeen wrote: Got this doing a load-file: # That error appears to be coming from a Java-level class loader (see the ultimate "caused by" in the stack trace). If you search for it using Google, you'll see it's appeared in contexts other than Clojure

Re: A website written using Clojure.

2009-06-25 Thread Stuart Sierra
On Jun 25, 3:59 pm, Berlin Brown wrote: > But does anyone have a problem with Lisp/S-Expressions to HTML/XHtml, > especially for the entire document.  What is wrong with using some > form of templating system. Yes, I'm partial to StringTemplate, a Java template framework. Very simple, like a fu

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread James Reeves
On Jun 25, 7:01 pm, Four of Seventeen wrote: > On Jun 25, 12:18 pm, James Reeves wrote: > > > Some languages go a step further, and highlight syntax errors directly > > with some ASCII art: > > >   Unmatched delimiter: > >     (let [x map inc nums)] > >                         ^ > > The javac co

Re: HOWTO: Update the docs on clojure.org?

2009-06-25 Thread Mike Hinchey
I don't know about wikispaces, but this is linked from clojure.org: http://en.wikibooks.org/wiki/Clojure_Programming -Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: A website written using Clojure.

2009-06-25 Thread Nicolas Buduroi
> I'm not running off any server. All the pages are static html, which > are generated by a Clojure script. No kidding! I've done the exact same thing for my first website. It was using Scheme though and leveraged Oleg's SXML library, it bring me back fond memories. I'm looking at that old code r

Re: Poll for a new name for clojure eclipse plugin 'clojure-dev'

2009-06-25 Thread Alex Combas
How about the name: jecl "jecl" breaks down: (j)ecl = (j)ava j(ec)l = (ec)lipse je(cl) = (cl)ojure jecl.net is not registered (yet) "develop clojure on eclipse with jecl" has a ring to it, I think ..and of course there is the story of Jekyll(clojure) and Hyde(java) where Jekyll is a good docto

Re: [OT] Convincing others about Clojure

2009-06-25 Thread Alex Combas
I'm no expert but I love to argue, so this is what I would say: On Wed, Jun 24, 2009 at 10:59 PM, Baishampayan Ghose wrote: > > > Their concerns are thus: > > 1. How do you get Clojure programmers? Lisp is not for the faint hearted. There has been a lot of re-newed interest in lisp over the past

Re: Poll for a new name for clojure eclipse plugin 'clojure-dev'

2009-06-25 Thread Antonio Parcero
What about "sequoya"? defined as: "Cherokee who created a notation for writing the Cherokee language (1770-1843)" Maybe spelling it as "sequoja" or as the name of the tree, "sequoia" Also, I think "conjuror" would have been a great name. It reminds me of the cover of SICP. Too bad there's alrea

Re: A website written using Clojure.

2009-06-25 Thread CuppoJava
That's a good point. Dimming the lines would be a good idea. I originally tried to make the text actually line up with the lines, but that was a nightmare, and it didn't contribute much to the final effect. Scheme is a great language. If I needed to work on a project that runs natively (ie. not o

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Glen Stampoultzis
2009/6/26 James Reeves > > On Jun 25, 7:01 pm, Four of Seventeen wrote: > > On Jun 25, 12:18 pm, James Reeves wrote: > > > > > Some languages go a step further, and highlight syntax errors directly > > > with some ASCII art: > > > > > Unmatched delimiter: > > > (let [x map inc nums)] > >

Re: Problem error message

2009-06-25 Thread Four of Seventeen
On Jun 25, 5:23 pm, "Stephen C. Gilardi" wrote: > That error appears to be coming from a Java-level class loader (see   > the ultimate "caused by" in the stack trace). If you search for it   > using Google, you'll see it's appeared in contexts other than Clojure.   > I read it as "I can't complet

ANN: libraries promoted from contrib to clojure

2009-06-25 Thread Stuart Halloway
If you are following the github head of the Clojure and contrib projects, you will see that several libraries have moved from contrib into Clojure: * clojure.contrib.test-is becomes clojure.test * clojure.contrib.stacktrace becomes clojure.stacktrace * clojure.contrib.template becomes clojure

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Timothy Pratley
Thanks for considering those Chouser, > It might be nice to get a "useless bare symbol" warning in > cases like this. That sounds useful to me! Another special case similar to 'bare symbol' which would be nice to have reported is when a lazy sequence is created and thrown away. Usually this mea

Printing and reading a function

2009-06-25 Thread Jurjen
I've been trying to do some generic work on serializing clojure objects, and am much impressed with how easy and functional it is, as well as how easy it is to extend this to other objects (eg Java classes). However, I seem to come a little unstuck when it comes to functions / closures. I realise

quick question about "ANN:"

2009-06-25 Thread kkw
Hi folks, Occasionally, I see "ANN:" in subject headers to posts here. I've tried to figure out what it means, but have failed. Searches on google haven't been too good either. What does "ANN:" mean? Kev --~--~-~--~~~---~--~~ You received this message because

Re: quick question about "ANN:"

2009-06-25 Thread Richard Newman
> What does "ANN:" mean? "Announcement", I believe. --~--~-~--~~~---~--~~ 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

Re: Problem error message

2009-06-25 Thread Four of Seventeen
On Jun 25, 10:09 pm, Four of Seventeen wrote: > Meanwhile I guess I'll fall back on the old, tedious debugging method > for cases like this: break everything up into separate modules and try > to compile each one until I find the one with the error, and then > whittle that one down until I've iso

Re: quick question about "ANN:"

2009-06-25 Thread kkw
Great - thankyou! On Jun 26, 1:59 pm, Richard Newman wrote: > > What does "ANN:" mean? > > "Announcement", I believe. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Four of Seventeen
Got another one. (if-not (zero? diskqueue-count (if value (trait-dir trait) (trait-undecided-dir trait))) # This should be saying wrong number of args passed to core$zero? rather than core$fn. I don't know why it isn't. (For tho

Re: HOWTO: Update the docs on clojure.org?

2009-06-25 Thread Chouser
On Wed, Jun 24, 2009 at 9:58 PM, Seth wrote: > > Tonight I got worked up enough to gripe to the good folks in IRC about > the docs on clojure.org. For the most part they are solid, but more > often than I'd like a link into the api page has a bad anchor. > (nthrest) became (nthnext) in early Feb 2

Re: Printing and reading a function

2009-06-25 Thread Chouser
On Thu, Jun 25, 2009 at 10:54 PM, Jurjen wrote: > > Essentially my new version of defn is a basic wrapper around defn: > (defmacro mkfn [nm args func] >  (list 'defn nm {:source (str "(mkfn " nm " " args " " func ")")} > args func)) > > so when you do (mkfn test1 [a b] (+ a b)) you get out a funct