libera/#commonlisp - IRC Chatlog
Search
17:19:35
lisp123
jeosol: You are welcome :) P.S. I subscribed to ACM to read some of their papers, if anybody wants an article from there, ping me and hopefully I will have access
0:27:26
Psybur
char, i dont know if a highschooler with little or no programming is going to enjoy the beauty of sexp
0:29:01
char
Psybur: perhaps not. I was thinking more from a practical prespective under the premise "people with program software in the langauge that they know".
0:36:22
phantomics
CL can get you fast results in many areas, if they're learning web dev it could be good, start by giving them a set of very simple macros to build a web page that expand to cl-who invocations, then move from those simple macros to more customizable ones, revealing how the simple macros expand
3:06:41
Josh_2
Am I allowed to change-class a slot with my metaclass? I'd like to have slots of different classes depending on some of the values of initargs
3:08:12
beach
Maybe it's the fact that I haven't had my morning coffee yet, but I can't understand from what you said what it is that you are trying to do.
3:12:22
Josh_2
basically I want to have a receive slot when :category :receive and a send slot when :category :send
3:14:11
Bike
okay, so in that case you don't really want to change the class of a slot definition - you just want the slot definition to have your class to begin with.
3:14:46
Bike
in which case you want direct-slot-definition-class and effective-slot-definition-class methods.
3:14:58
Bike
i don't remember how the initargs are canonicalized off the top of my head, but it might work
3:19:38
Bike
if i remember correctly there may be a bit of a problem because there is some underspecification about what those initargs actually are, for an effective slot
3:20:57
Bike
sbcl has compute-effective-slot-definition-initargs for that, but it's not standard or even exported