help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lisp Live buffer


From: Emanuel Berg
Subject: Re: Lisp Live buffer
Date: Wed, 28 Dec 2022 03:08:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

> (defun make-world (dim len &optional init)
>   (or init (setq init "."))
>   (if (zerop dim)
>       init
>     (make-list len (make-world (1- dim) len init)) ))

So it was this part ...

Have a look, it's the same same list list!

(let ((lst (make-list 3 (list 1 2 3))))
  (setf (nth 2 (nth 1 lst)) 0)
  lst)

-> ((1 2 0) (1 2 0) (1 2 0))

$&#@%!

https://dataswamp.org/~incal/emacs-init/comic-book-insult.el

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]