Search found 6 matches
- Wed Oct 06, 2010 6:57 am
- Forum: Common Lisp
- Topic: Quicklisp beta and survey
- Replies: 0
- Views: 4591
Quicklisp beta and survey
I've been working on Quicklisp , a project to make it really easy to install and use CL libraries. On Saturday, October 9th, I'm going to release what I have as a public beta for anyone to try. As of today, the discussion group is open for any kind of Quicklisp discussion. I'd like to find out more ...
- Mon Jun 01, 2009 5:32 am
- Forum: Common Lisp
- Topic: Got any good examples of CL in action?
- Replies: 5
- Views: 9847
Re: Got any good examples of CL in action?
I've always liked cl-ppcre as an example. It covers many different features of Common Lisp, it does an interesting job, it's well-commented and well-documented, it's challenging but not impossible to understand, and it's very fast.
- Fri May 29, 2009 5:34 am
- Forum: Common Lisp
- Topic: Combining digits to make a string
- Replies: 18
- Views: 27294
Re: Combining digits to make a string
Here are a few things that sprang to mind. (defun miningold.alphabet (&key (length 3) (alphabet "0123")) (let ((output (make-string length))) (dotimes (i length output) (setf (aref output i) (aref alphabet (random (length alphabet))))))) (defun miningold.numbers (&key (length 3) (l...
- Fri Dec 05, 2008 11:29 am
- Forum: Common Lisp
- Topic: Choose numbers at random
- Replies: 14
- Views: 30821
Re: Choose numbers at random
There isn't anything built-in.
For the former, you could do something like
For the latter, one option is
For the former, you could do something like
Code: Select all
(+ low (random (1+ (- high low))))
Code: Select all
(elt list (random (length list)))
- Tue Nov 25, 2008 6:58 am
- Forum: Common Lisp
- Topic: Using static typing in CL
- Replies: 5
- Views: 18497
Re: Using static typing in CL
The assertions inform the type inference, and you will usually get compile-time warnings for code that violates type declarations.
- Tue Nov 11, 2008 7:50 am
- Forum: Common Lisp
- Topic: Is there any Library for Feed-Parsing
- Replies: 6
- Views: 11840
Re: Is there any Library for Feed-Parsing
For Planet Lisp, I wrote a short Python program that loads feeds with the Universal Feed Parser and writes out files of sexps representing their contents. Then a Lisp program puts the HTML pages together.