libera/#commonlisp - IRC Chatlog
Search
18:37:29
_death
maybe a short path would be to use clog to render swank-fancy-inspector's emacs-inspect output and take a few commands
19:11:07
pjb
didi: I answerd to your question "Is there a function to map sequence elements which accepts the arguments :start, :end, and :from-end?" (defun map-sequence (rtype fun sequence &key (start 0) end &aux (end (or end (length sequence)))) (map rtype fun (remove-if-not (range start end) sequence))) (map-sequence 'vector 'identity (iota 10) :start 3 :end 5) #| --> #(3 4 5) |#
19:12:00
pjb
didi: Note that in general :from-end doesn't mean reverse or right to left processing in the other sequence functions. It just mean semantically right-most result.
19:12:26
pjb
so a find :from-end could actually scan from left to right and just return the last result.
21:05:32
minion
liminality: please look at pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
21:05:34
minion
liminality: paip: Paradigms of Artificial Intelligence Programming. More about Common Lisp than Artificial Intelligence. Now freely available at https://github.com/norvig/paip-lisp
21:06:13
jackdaniel
if you want to learn ~contemporary common lisp go after PCL, if you want to be walked over some cool programs go after PAIP
21:07:11
jackdaniel
meh, there is also a book "ANSI Common Lisp" by Paul Graham - it is a bit on the boring side (in a good way!) - a very good learning material with excercises
21:08:20
jackdaniel
there is ANSI Common Lisp (the standard) and there is a book that aims at teaching ANSI Common Lisp
21:09:05
jackdaniel
(mind that while PCL and PAIP are available on the internet to read, you'll need to buy Paul Graham's book)
5:22:16
hayley
minion: memo for pve: For your amusement, Clouseau inspecting objects in a Smalltalk-ish language: <https://social.applied-langua.ge/media/cc8fba53-74a0-4a5a-9a1c-a4f0967de6b4/parser-test-in-clouseau.png>