Search found 32 matches
- Tue Jun 16, 2009 8:14 pm
- Forum: Lisp Quiz
- Topic: Lisp Quiz #3
- Replies: 3
- Views: 32195
Re: Lisp Quiz #3
So nobody does these things, right? Enough people to make it interesting, at least. Your code looks good to me. I've heard good things about CXML recently so I was interested to see what people would do with it. I didn't know about Drakma at all; it's cool that it's so easy to fetch the contents of...
- Sat Jun 13, 2009 1:08 am
- Forum: Lisp Quiz
- Topic: Lisp Quiz #3
- Replies: 3
- Views: 32195
Lisp Quiz #3
Hope no one minds if I post a new quiz. This one is blatantly borrowed from Ruby Quiz. Given a location (a city name, postal code, or some other identifier), print the current temperature. Example: > (weather 12345) The temperature in SCHENECTADY, NY is 55 degrees F. This isn't a difficult problem, ...
- Thu Jun 04, 2009 10:44 am
- Forum: Common Lisp
- Topic: ANN: ABLE 0.19 + screencast
- Replies: 9
- Views: 14405
Re: ANN: ABLE 0.19 + screencast
Very nice screencast. I think this project is a great idea. Some suggestions... Thanks for the suggestions, I appreciate you taking the time. I've taken your advice and reinstated the Mac, Linux and Windows downloads. There are now big obvious download buttons too! Awesome! The download worked grea...
- Wed Jun 03, 2009 3:25 pm
- Forum: Common Lisp
- Topic: ANN: ABLE 0.19 + screencast
- Replies: 9
- Views: 14405
Re: ANN: ABLE 0.19 + screencast
Very nice screencast. I think this project is a great idea. Some suggestions... 1. The download link on your site is hard to find, the anchor being only a couple of numbers. First I looked at the top for a download link and didn't see one; then I searched the page for "Download" and found ...
- Tue May 12, 2009 6:38 pm
- Forum: Lisp Quiz
- Topic: Lisp Quiz #2?
- Replies: 9
- Views: 63190
Re: Lisp Quiz #2?
This is a neat problem, wish I'd seen it sooner. I borrowed from http://bc.tech.coop/blog/040811.html for the idea of how to render it, and came up with this Clojure code: (ns mandelbrot (:refer-clojure :exclude [+ * <]) (:use (clojure.contrib complex-numbers) (clojure.contrib.generic [arithmetic :o...
- Sun May 03, 2009 3:44 pm
- Forum: The Lounge
- Topic: Thinking in Clojure vs Common Lisp
- Replies: 3
- Views: 10148
Re: Thinking in Clojure vs Common Lisp
There's nothing wrong with using recursion in Clojure. Use loop + recur, it works fine 99% of the time. I very rarely find myself using loop + recur though; they are more low-level than you usually need. map, reduce, filter, for (list comprehensions) and friends are better. Stateful iteration in Clo...
- Wed Mar 11, 2009 1:31 pm
- Forum: The Lounge
- Topic: Qt and Lisp...a great opportunity?
- Replies: 18
- Views: 43630
Re: Qt and Lisp...a great opportunity?
The JVM is heavy and it takes a while to start, and it's an enormous memory hog, but once it's running it goes fast. In my (limited) experience QtJambi apps run about as fast as native Qt apps once they're up and running. In practice this isn't that much of an issue, because Clojure like any other L...
- Tue Mar 10, 2009 2:51 pm
- Forum: The Lounge
- Topic: Qt and Lisp...a great opportunity?
- Replies: 18
- Views: 43630
Re: Qt and Lisp...a great opportunity?
I've used QtJambi in Clojure to good effect. Very easy to get up and running quickly. Worked cross-platform with no problems. Very well-documented. It's sad to hear QtJambi is losing official support and going "community", but at least version 4.5 is there to use. As for Clojure, it looks ...
- Fri Oct 31, 2008 12:43 pm
- Forum: Other Dialects
- Topic: Positional Partial application for Clojure
- Replies: 4
- Views: 12363
Re: Positional Partial application for Clojure
No big deal, clearly someone else already thought it was a good idea. Some of the other libraries on your site look interesting. Have you considered contributing some to clojure-contrib?
- Fri Oct 31, 2008 11:47 am
- Forum: Other Dialects
- Topic: Positional Partial application for Clojure
- Replies: 4
- Views: 12363
Re: Positional Partial application for Clojure
Aside from being able to specify your own symbol for the magic argument, how does this differ from the built-in:
Code: Select all
(map #(cons 'head %) '((1 2) (3 4) (5 6)))
(map #(list 'head % 'end) '(middle mean meat))