Search found 13 matches

by dmgenp
Wed Aug 24, 2011 9:29 am
Forum: Common Lisp
Topic: FAQ
Replies: 4
Views: 31219

Re: FAQ

looks like Slimv http://www.vim.org/scripts/script.php?script_id=2531 is the most actively developed lisp-ide-like script for VIM now.
by dmgenp
Thu Mar 25, 2010 3:02 am
Forum: VI and VIM
Topic: slimv
Replies: 2
Views: 15133

Re: slimv

another hint: when working with threads under sbcl, if debugger is invoked within non-main thread, use (sb-thread:release-foreground) to switch to that thread to choose the restart.
by dmgenp
Fri Feb 26, 2010 12:00 pm
Forum: VI and VIM
Topic: slimv
Replies: 2
Views: 15133

slimv

There's another active project for common lisp/clojure integration, quite useable: http://www.vim.org/scripts/script.php?script_id=2531 There was one problem - on linux, if you use sbcl, and drop into sbcl debugger, there was no method to enter anything, so you basically stuck. Problem was what sbcl...
by dmgenp
Wed Jul 16, 2008 11:24 am
Forum: The Lounge
Topic: website mini-logo (the one in the toolbar)
Replies: 24
Views: 20025

Re: website mini-logo (the one in the toolbar)

i played with idea of 'l i s p' letters as lizard's legs: Image
IMO, the image became less lizard-like.
by dmgenp
Wed Jul 16, 2008 11:02 am
Forum: The Lounge
Topic: website mini-logo (the one in the toolbar)
Replies: 24
Views: 20025

Re: website mini-logo (the one in the toolbar)

what are the tiny symbols scattered around the lizard?
it's just lizard's legs.
Maybe even another pair of parentheses could make it clearer...
Feel free to improve the image :)
by dmgenp
Wed Jul 16, 2008 10:38 am
Forum: Common Lisp
Topic: closures
Replies: 6
Views: 7550

Re: closures

Personally, i don't strive to always write my code 'the lisp way'. I try to write code the right way.
If creating closures with side effects solves my problem efficiently and elegantly, i'd do it.
If my code is functional, i won't pollute it with side effects.
by dmgenp
Wed Jul 16, 2008 10:18 am
Forum: The Lounge
Topic: website mini-logo (the one in the toolbar)
Replies: 24
Views: 20025

Re: website mini-logo (the one in the toolbar)

what do you think of this favicon ? greenish version: http://farm4.static.flickr.com/3159/2674055701_f11c764679.jpg?v=0 black & white version: http://farm4.static.flickr.com/3294/2674055707_38fb4eb60b.jpg?v=0 (uploaded to flickr) http://www.flickr.com/photos/28715987@N08/2674055707/ this is lizard m...
by dmgenp
Tue Jul 15, 2008 11:17 am
Forum: Common Lisp
Topic: question about recursion (easy)
Replies: 8
Views: 9445

Re: question about recursion (easy)

and here's my version of the function in question: ;; generate a list of first n C-series values (defun c-series-list (n a) (when (zerop n) (return-from c-series-list)) (labels ((c-s (n a) (if (= 1 n) (list a) (let* ((rest (c-s (- n 1) a)) (prev (car rest))) (cons (if (evenp n) (log prev) (* prev pr...
by dmgenp
Tue Jul 15, 2008 11:05 am
Forum: Common Lisp
Topic: question about recursion (easy)
Replies: 8
Views: 9445

Re: question about recursion (easy)

Haskell gives lazy lists and memoization for them out-of-the-box. for common lisp, you can use this library: http://cl-heresy.sourceforge.net/Heresy.htm The clichéd Fibonacci example: (Request 1000000th element in Fibonacci sequence using self-referencing list) (nth/ 1000000 (self-ref-list/ fib (li...