Since 5/5/2012 4:03:02 PM, sogwaldan has written 10 articles and participated in 110 conversations. sogwaldan signature: sogwaldan
sogwaldan's articles:
Items(10) /1
<pathname-directory>/sub/dir731 (5/20/2008 1:18:58 PM) comp.lang.lisp How do you create a subdirectory of another pathname directory? Is that something that some filesystems don't understand? It looks like there's at least one posix/unix format that's a list, where you can appe... danb
destructuring-bind x ...434 (5/18/2008 8:59:51 PM) comp.lang.lisp sbcl and acl both allow d-b to bind a bare symbol, but they have different expansions, and the hyperspec seems to suggest that only lists are allowed. Is there any formal or informal policy that implementers u... danb
readtables, slime, & asdf630 (5/16/2008 11:37:05 AM) comp.lang.lisp How do you juggle readtables in slime and asdf? You have to wrap the call to compile-file or (load source-file) in a rebinding of *readtable*, right? Is there some combination of asdf :perform and/ or :in-ord... danb
acl compile-file can't find a macro1031 (5/7/2008 6:12:32 PM) comp.lang.lisp I defined a macro (WHILE) before using it in the same file, but ACL didn't seem to register its existence during compilation: ;;; Compiling file /usr/home/dan/progg/lib/cl/standard.lisp Error: attempt to call ... danb
Function ARRAY-ELEMENT-TYPE1132 (5/5/2008 6:50:20 PM) comp.lang.lisp * (array-element-type (MAKE-ARRAY '(2) :ELEMENT-TYPE 'INTEGER :INITIAL-CONTENTS '(1 2))) => T Why does this function exist? It doesn't seem to do much. --Dan --------------... danb
Greenspunning ML (revisited)924 (4/28/2008 1:28:54 PM) comp.lang.lisp Well, I didn't like any of the pattern-matching libraries out there, so I wrote another one. The api is similar to Fare Rideau's fare- matcher, with a couple extra features, but the internals are much more str... danb
CLOS Qs926 (4/24/2008 4:29:30 PM) comp.lang.lisp Just a couple questions about CLOS: 1. What's the best/most-reliable way to determine whether a value is a clos object, ie. something that may have slots that can be accessed with slot-value? So far, the two ... danb
Objects of type FUNCTION can't be dumped into fasl files.930 (4/20/2008 5:21:29 PM) comp.lang.lisp I want to write a macro that defines a helper function to be called by another macro or another of the main macro's helpers. It's supposed to allow the user to extend a declarative pattern-specification langua... danb
Deleting un(?)reachable code636 (3/18/2008 1:53:49 AM) comp.lang.lisp Does anyone have any idea why sbcl would delete these code segments? There are three FORMAT forms and one CDR form. The FORMATs occur in an inlined function (USABLE), and are called conditionally, depending o... danb
Error reading delimited list1426 (3/12/2008 5:35:25 PM) comp.lang.lisp I have a read macro that calls a function that calls read-delimited- list. It keeps signaling an error saying the list has no cadr, in fact it says the whole list is empy: (eval-when (:compile-toplevel :load-t... danb
Nested bacquotes are so hard (at least for me :) )!2331 (8/21/2008 1:09:53 PM) comp.lang.lisp I was doing some experimenting with MACROLET, just to figure out how it works a little better, but I can't get the following code to work. It only prints "Hello World!" once instead of 10 times. There's no spec... rocco.rossi(103)
Lisp noob would like feedback on code:421 (7/2/2008 8:44:01 AM) comp.lang.lisp To get into the swing of The Lisp Way, I've been working my way through a few of the problems on the Project Euler website. Here's the (Scheme) code I wrote for problem 14: ;The following iterative sequence is... maysonl(10)
let and special variables: need more2229 (6/24/2008 6:27:21 PM) comp.lang.lisp Hello. Here is the story of the day (following the implementation of the ring buffer (yesterday's question), I was prompted to dig deeper into my code, and realized that let and special variables do not behave... mirko.vukovic(404)
Remove part of a list1134 (6/10/2008 3:19:44 PM) comp.lang.lisp Hi! I'm doing a school work. And i need to calculate the cost of a route. But I have a list with all the points that i'm passing... And i need to remove a part of a list. I have this list '((8 2) (8 3) (8 4)... thot4ever(8)
Detele repeated in a list2028 (6/10/2008 1:31:16 PM) comp.lang.lisp Hi everyone! I have this piece of code, that sould delete all the repeated elements from a list : (defun apaga-repetidos (lista) (let ((p (first lista)) (r (rest lista))) (if (null lista) ... thot4ever(8)
macro-problem1036 (6/8/2008 9:29:30 PM) comp.lang.lisp why is the first one not working but the second is? ok dumb idea to use == since it normally means test and not assignment, just wondering). CL-USER> (defmacro == (var val) (setf var val)) == CL-USER> (== ... circularfunc(119)
Translating circular Haskell code to lisp1533 (5/28/2008 11:19:26 PM) comp.lang.lisp I am working through http://www.haskell.org/tmrwiki/ WhyAttributeGrammarsMatter in lisp, and I am encountering circular code like: diff :: [Float] -> [Float] diff xs = let nil avg = (0.0, 0... akopa.gmane.poster(114)
New notation5133 (5/26/2008 4:17:09 AM) comp.lang.lisp What if we solved the readability problem? I know emacs indents everything nicely but suppose we did the following: #1. Continue using parentheses to open #2. Use ] to close remaining open parentheses up to cu... rares.marian(33)
Beginner code - splitting lines on whitespace1422 (5/22/2008 8:21:07 PM) comp.lang.lisp I've been lurking here for a bit, and trying to learn lisp in my spare time. As an exercise, I'm trying to port some Perl code to lisp, and the first bit of functionality I wrote was to read a file that looks ... takezowest(9)
<pathname-directory>/sub/dir731 (5/20/2008 1:18:58 PM) comp.lang.lisp How do you create a subdirectory of another pathname directory? Is that something that some filesystems don't understand? It looks like there's at least one posix/unix format that's a list, where you can appe... sogwaldan(120)