flets in macros1830 (12/17/2004 12:50:47 PM) comp.lang.lisp I'm writing a macro, map-collect, that performs a mapping function over a list or lists and binds COLLECT and NEXT to functions that allow the following: (map-collect mapcar (item '(1 2 3 4 5 6)) (collect it... Chris
Slot accessors and syntax4725 (12/14/2004 10:53:50 AM) comp.lang.lisp Coming from C#, the most painful aspect of Lisp seems to me to be using objects. Yes, the system is more powerful. But the syntax just isn't made for it. When I have an object foo-inst of class foo, with slots ... Chris
Replacing subsequences2133 (12/10/2004 12:38:22 PM) comp.lang.lisp I had a need just now to replace one substring in my string with a different substring, of a different length (for quoting parameters to SQL queries, incidentally). It appears that accomplishing this isn't stra... Chris
Lisp code security4532 (12/5/2004 12:13:52 AM) comp.lang.lisp Hi everyone, I'm interesting in defining a subset of Lisp that is safe in the sense that any arbitrary code written in the subset can be executed without fear of the code compromising the security of the syste... Chris
Interesting simulation ideas2023 (12/4/2004 10:18:38 PM) comp.lang.lisp There have been a few newbies (including me) programming simulators recently, and after doing my rather boring Battleship simulation, I was wondering if there's something a bit more interesting out there to sim... Chris
Battleship simulator541 (12/1/2004 8:14:57 AM) comp.lang.lisp Hi everyone, I've programmed a simulator for the game battleship (description included in file) so I could try out a few different strategies (idle curiosity, mainly) and I thought I'd let you all know in case... Chris
Changing word break behavior in emacs682 (11/25/2004 8:52:34 AM) comp.emacs Is there a way to change the way Emacs treats word breaks? For instance, coming from a windows background, it really annoys me that M-f puts you at a different point than M-b. I'd also like to be able to tell i... Chris
Lispers and Emacs823 (11/24/2004 12:39:27 PM) comp.lang.lisp Hi all, I've spent the past evening hacking on SLIME. I was roused into an Emacs frenzy by a building frustration and a straw: finding the slime-indent-and-complete-symbol function. I had never really been abl... Chris
CL subset?1632 (11/21/2004 1:44:13 AM) comp.lang.lisp I've read that a program can be a conforming subset implementation of CL in the case that any programs written in that subset will run as intended, unmodified, on a fully conforming CL implementation. The prima... Chris
Lisp collections10344 (9/21/2004 3:04:01 AM) comp.lang.lisp Coming from a C# background, one thing I've begun to miss in lisp is a nice, flexible array/collection feature. Let me describe the .NET ArrayList class. It's built over a fixed-length array that's reallocated... Chris
FORMAT question.2222 (12/11/2004 10:55:56 AM) comp.lang.lisp Hi. How format-string should look like? (format t format-string 1 2 3) ==> 1 2 3 2 1 Is this possible? Regards, Szymon. ... r5z-u28s_g1d(88)
(; comment suggestion)2233 (12/12/2004 6:57:57 PM) comp.lang.lisp Many times I and others have had problems with comment lines - if they get word wrapped, there's an error message. I have a suggestion to alleviate this problem: make a semicolon a function, just like the rest... sky1(37)
Python, XML. and now .Net?638 (12/12/2004 10:25:19 PM) comp.lang.lisp Following a link from LtU today, i cam across CodeDom for .Net : http://www.15seconds.com/issue/020917.htm What this seems to be is a method of parsing abitrary source code into a Tree Structure (like s-exps... drewc(225)
CLisp case sensitivity14533 (12/14/2004 3:49:17 AM) comp.lang.lisp I've read that Common Lisp is case sensitive, but have also noticed that Allegro has a way of creating a case-sensitive image. Can the same thing be done with clisp (on GNU/Linux)? ... tgagne(595)
Slot accessors and syntax4725 (12/14/2004 10:53:50 AM) comp.lang.lisp Coming from C#, the most painful aspect of Lisp seems to me to be using objects. Yes, the system is more powerful. But the syntax just isn't made for it. When I have an object foo-inst of class foo, with slots ... ch.ris(114)
flets in macros1830 (12/17/2004 12:50:47 PM) comp.lang.lisp I'm writing a macro, map-collect, that performs a mapping function over a list or lists and binds COLLECT and NEXT to functions that allow the following: (map-collect mapcar (item '(1 2 3 4 5 6)) (collect it... ch.ris(114)
Garbage Collection and Games #32134 (12/17/2004 10:15:33 PM) comp.lang.lisp Hi all, I have recently been doing some research into Garbage Collectors, and playing around with CMUCL's GC. Since there has been a lot of disscussion about Lisp and games in here over the last few months, I f... philip.haddad(66)
Argument evaluation order1334 (12/18/2004 11:00:13 AM) comp.lang.lisp hi, At the moment i'm reading the book Successful Lisp and read this: "When a list form is a function call, its arguments are always evaluated in order, from left to right. As in other programming languages, ... chrizel(2)
converting dynamic to lexical scope724 (12/19/2004 1:28:34 PM) comp.lang.lisp hi i have this function i wrote for a lisp which uses dynamic scoping. QUESTION: How would i convert the function to use lexical scope? Can it be done with a macro? Or is there some other trick that i should... jimka(490)