|
First
|
Prev |
Next
|
Last
Pages: 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
combinations iterator Greetings! I'd like an iterator over all the combinations of the elements of a set (stored as, say, a list). I know the recursive definition of the set of all combinations of a set, but I'd like to avoid the combinatorial space explosion of actually _constructing_ the set of all combinations. Is there an ea... 3 Jan 2007 17:51
combinations not working This is a excerpt from my code: -------------------------------------------------------------------------- (defun write-trace (body) (format *trace-output* "~&~A~%" body)) (defmacro output (body) `(progn ;(write-trace ',body) ,body)) (defun nrotate (vector start end) (rotatef (aref... 4 Jan 2007 11:23
a small SBCL question Hi, I have a small practical question for the SBCL experts: I need to call an external program from my lisp code to excange data through files. At shell, it is something like: "./the_program input.file output.file". How can I do it using SBCL? I found sb-ext:run-program, but its documentation appears a bit "sketch... 2 Jan 2007 04:33
Checksum (noob) After a 10 year hiatus, I've begun experimenting with Lisp again. Among other things, I've written a typical 8-bit modulo arithmetic checksum routine, which would look like this in C++: std::accumulate(lst.begin(), lst.end(), 0, std::minus<unsigned char>()); Lisp version: (defun checksum (ls... 3 Jan 2007 14:38
lisp and youtube did anyone see the lisp video on youtube? http://www.youtube.com/watch?v=R7GP9W1OowE ... 28 Dec 2006 04:55
eclipse and cusp Hello, I tried to use cusp on eclipse under winXP. I have installed the latest version of eclipse, the latest version of cusp and the latest version of Java-runtime. But my Repl does not work. Has anybody similar experiences and was able to solve the problem? Thank you very much in advance. Marcel ... 31 Dec 2006 22:09
Macro dependency tracking Hi, I always wondered why macro calls are not reexpanded automatically each time the macro is redefined. Whenever I recompile a macro definition I should recompile all places where the macro was expanded which is sometimes nearly impossible to do, so it's easier to restart and recompile everything. This is an... 20 Dec 2006 17:50
Oops. That was quick, I was too quick... RE: "That was quick" post deleted but probably already well-propagated: Mistakes were made. The unattributed quote in question was: NETSCAPISM /net-'sca-,pi-z*m/ n (1995): habitual diversion of the mind to purely imaginative activity or entertainment as an escape from the realization that the Internet was b... 19 Dec 2006 17:05
What about these? I told someone they should google my name, belatedly thought to check the results. I seem to exist only in quotations and sigs, not all of them from fans. No, this is not immodesty, that would be everything else I post; for this I have a different ulterior motive. Now if you'll excuse me I have to go on eBay a... 29 Dec 2006 14:20
Package-qualified symbols & unUSEable packages -- threat or menace? Hello, Some of the recent Lisp code and documentation available on the net encourage or require the employment package-delimited symbol names in source code, and some library packages are being written that can't be USEd (in the sense of use-package, or a bunch of imports) in packages that also use the CL packag... 19 Dec 2006 21:27 |