freenode/#lisp - IRC Chatlog
Search
21:39:09
whoman
ah. i was hoping for a record update, reverse destructuring-bind i suppose; or if it is not too hard to make a slot-values place
21:42:42
Bike
reinitialize instance more or less lets you set a bunch of slots at once. is that not what you said?
21:43:32
whoman
yes, exactly .. but, i assumed the title was something that shouldnt happen as often as i would like it to (all the time)
21:54:48
Xach
borodust: hi, when i try to dist-update it does not think there is anything new. version issue maybe?
22:23:54
earl-ducaine
Lispologists! q: getting an SBCL warning that I'm using an obsolete form of do when I try and compile the following: (defun my-do-old () (do ((alfa 0.0)) () (return (list alfa))))
22:24:17
earl-ducaine
I'm guessing that that's the old way of writing: (defun my-do-ansi () (do ((alfa 0.0)) (nil) (return (list alfa))))
22:25:16
earl-ducaine
i.e. exit condition for 'do forever' used to be just the empty list now the exit clause must have the condition to be checked, even if it's constant.
22:31:45
phoe
earl-ducaine: I think so, yes. I think the return condition must be explicitly stated, even if it's always NIL.
22:32:28
phoe
;; Though that function could be obviously optimized to (defun my-do-old () (list 0.0)) - but I don't think that's what your question is about.
22:37:58
phoe
Bike: In this case, I have no idea. It could perhaps be possible to study CLtL1 and earlier Lisp manuals.
22:38:28
earl-ducaine
Thanks phoe just too lazy to qualify my example as being for illustritave purposes only! Bike: yes that's correct.
22:38:35
earl-ducaine
Just refered back to the Chinual and it seems even in Zeta Lisp (nil) was normative for 'do forever'
22:39:15
earl-ducaine
So, it must of been a syntax error that just happened to work in older implementations.
8:45:21
dmiles
ACTION adds (defun my-do-ansi () (do ((alfa 0.0)) (nil) (return (list alfa)))) to wam-cl
9:11:16
shka
beach: do you know about T lisp? It is said to be a remarkable implementation and it had first class envs akin to SICL.
9:15:04
pjb
T is in the scheme family: http://www.softwarepreservation.org/projects/LISP/scheme_family/#T_
9:15:30
pjb
(MacLisp) http://www.softwarepreservation.org/projects/LISP/maclisp_family/#NIL,_S-1_Lisp_
9:16:25
dmiles
help me out.. should it be possible to git a scheme fully compatible to common lisp ?
9:16:37
pjb
dmiles: Have a look at (intersection common-lisp emacs-lisp scheme) http://www.informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/intersection-r5rs-common-lisp-emacs-lisp/
9:17:06
pjb
dmiles: you have to be careful to write your code to be meaningful in both lisp-1 and lisp-2.
9:17:39
pjb
dmiles: also, have a look at Butterfly CL (implemented in Butterfly Scheme), and at pseudo-scheme (implemented in CL), and a few others like that.