freenode/#lisp - IRC Chatlog
Search
21:05:01
anamorphic_
Hi, I have a bunch of lisp files and I want to create a static cross reference for them (perhaps building something like LXR) - is xref.lisp from the AI repo my best bet as a starting point?
21:13:38
pjb
anamorphic_: yes. Also, it has been included in slime/swank, so perhaps it's modernized in there?
3:52:34
beach
Nomenclatura: Hard to know. But that's not a topic for this channel. This channel is dedicated to Common Lisp.
3:56:50
beach
Furthermore, there is no widespread agreement about what languages are Lisp dialects. So whether Clojure is one or not is not something people agree about.
4:54:03
fiddlerwoaroof
We occasionally have some digressions, but we generally try to stick to conversations about lisp and keep other topics in ##lisp or #lispcafe
5:18:12
noobly
how is web scraping and data analysis with common lisp? I've been using python with scrapy and pandas to get up to speed, was wondering if lisp has anything that offers similar convenience
5:29:04
no-defun-allowed
for HTML searching, there's lquery which I've used, and cl-ppcre is pretty good at searching plain text
5:39:40
noobly
fiddlerwoaroof, no-defun-allowed: awesome, thanks. I'm hoping to move towards CL for that workflow eventually, I still have awhile to go getting comfortable with pandas though
6:46:49
krwq
buffergn0me: pushnew allows to specify :test function, say as a simple example you want to create an alist with that by specifying test to be (lambda (a b) (equal (car a) (car b))) but you'd like the list to be replaced when pushnew-ing
6:47:24
krwq
buffergn0me: other example you push objects of certain class and specify test as equal on one of the slots
6:49:19
beach
krwq: So, let me see if I understand. With this new thing of yours, if the element is already in the list (as defined by some TEST and/or KEY), you want it to be replaced, but what if it is NOT in the list? Do you want to push it to the list then?
6:49:48
buffergn0me
Well, pushnew has a :KEY parameter, so you can do (PUSHNEW X Y :TEST #'EQUAL :KEY #'CAR) for the first example.
6:50:42
krwq
beach: fair enough, was wondering if there was something in the clhs which I didn't know about