Search found 5 matches

by Christopher Oliver
Fri Oct 02, 2009 9:01 am
Forum: Common Lisp
Topic: Parens again, grumble grumble: an idea for manual notation
Replies: 4
Views: 5352

Re: Parens again, grumble grumble: an idea for manual notation

Outside of a computer, parens don't matter. I'm not sure I agree with this. If I wish to communicate the form of expressions, it seems to me I should show how they are delimited. Boxes and underbars are awkward, and indenting can get all too easily sloppy. Imagine you're showing someone Gabriel's W...
by Christopher Oliver
Wed Sep 30, 2009 8:36 am
Forum: Common Lisp
Topic: Parens again, grumble grumble: an idea for manual notation
Replies: 4
Views: 5352

Parens again, grumble grumble: an idea for manual notation

This is not another I-hate-all-those-parens whinge whinge whinge posting. I use GNU emacs and SLIME, and even long before that I had made my peace with '(' and ')' when I sat at the computer. Contrary, I have found that when writing out even slightly hairy code on paper or at a whiteboard that I did...
by Christopher Oliver
Thu Sep 10, 2009 7:06 pm
Forum: Emacs Lisp
Topic: nth element of a lisp
Replies: 5
Views: 21260

Re: nth element of a lisp

This is e-lisp, not scheme or common lisp, I really don't expect homework. How about a little less evasion and snarkiness. In e-lisp, use the (nth ...) built-in function.
by Christopher Oliver
Sun Feb 01, 2009 7:00 pm
Forum: Common Lisp
Topic: A procedure to extract atoms from a list
Replies: 11
Views: 23310

Re: A procedure to extract atoms from a list

I'm not so sure I'm happy about seeing flatten as a necessity here. While I recognize a place for programming paradigms (e.g. functional programming), I think we do others a disservice by promoting them in too doctrinaire a fashion. For a tree where there are few unique leaves, the suggested algorit...
by Christopher Oliver
Fri Sep 05, 2008 5:55 pm
Forum: Common Lisp
Topic: with-open-file problem of sbcl
Replies: 12
Views: 22640

Re: with-open-file problem of sbcl

While the code below is undoubtedly an ugly vile hack, this is what I came up with on the spur of the moment. One things that makes me a bit unhappy aside from the fixed length buffer and the sloppy error handling* is that I'm not completely comfortable with read in this context. I'm not sure it's a...