<aeth>
stylewarning: oh, you did that? Shouldn't you be typeerror instead of stylewarning, then?
<stylewarning>
;-)
dre has joined #commonlisp
karlosz has joined #commonlisp
karlosz has quit [Client Quit]
random-nick has quit [Ping timeout: 260 seconds]
lisp123 has joined #commonlisp
gioyik has quit [Quit: WeeChat 3.1]
lisp123 has quit [Ping timeout: 260 seconds]
pjb has quit [Ping timeout: 252 seconds]
Zianic has quit [Ping timeout: 250 seconds]
Oladon has joined #commonlisp
edgar-rft has quit [Quit: Leaving]
dre has quit [Quit: Leaving]
Devon has quit [Ping timeout: 252 seconds]
Qwnavery has joined #commonlisp
gaqwas has quit [Ping timeout: 265 seconds]
Qwnavery has quit [Quit: WeeChat 3.2]
kakuhen has joined #commonlisp
perrierjouet has quit [Quit: WeeChat 3.2]
Fare has quit [Ping timeout: 260 seconds]
CrashTestDummy has joined #commonlisp
CrashTestDummy3 has quit [Ping timeout: 260 seconds]
Devon has joined #commonlisp
<beach>
Good morning everyone!
<Devon>
Good evening beach
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
robin has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
robin has joined #commonlisp
lisp123 has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 260 seconds]
Fare has joined #commonlisp
igemnace has joined #commonlisp
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
robin_ has joined #commonlisp
robin has quit [Ping timeout: 260 seconds]
semz has quit [Ping timeout: 260 seconds]
<Devon>
https://directory.FSF.org lists Emacs CL, Gnu CL and SBCL listed but not ABCL, CCL, Clasp, CLISP nor ECL. Perhaps these unlisted maintainers would like to provide a blurb for the directory.
robin_ has quit [Ping timeout: 260 seconds]
robin has joined #commonlisp
semz has joined #commonlisp
molson__ has joined #commonlisp
azimut_ has joined #commonlisp
azimut has quit [Ping timeout: 276 seconds]
molson_ has quit [Ping timeout: 252 seconds]
gaqwas has joined #commonlisp
Fare has quit [Ping timeout: 260 seconds]
Bike has quit [Quit: Lost terminal]
igemnace has quit [Remote host closed the connection]
Fare has joined #commonlisp
Fare has quit [Ping timeout: 260 seconds]
Oladon has quit [Quit: Leaving.]
robin has quit [Remote host closed the connection]
contrapunctus has left #commonlisp [#commonlisp]
robin has joined #commonlisp
contrapunctus has joined #commonlisp
nature_ has quit [Ping timeout: 260 seconds]
NeoCron has joined #commonlisp
robin has quit [Ping timeout: 260 seconds]
robin has joined #commonlisp
Doraemon has quit [Ping timeout: 252 seconds]
lisp123 has joined #commonlisp
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
d4ryus has quit [Quit: WeeChat 3.2]
d4ryus has joined #commonlisp
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
pve has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
Lycurgus has joined #commonlisp
d4ryus has quit [Quit: WeeChat 3.2]
d4ryus has joined #commonlisp
shka has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
Lycurgus has quit [Quit: Exeunt]
Inline has quit [Quit: Leaving]
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
robin has quit [Remote host closed the connection]
<fiddlerwoaroof>
I guess there's not a #coalton yet :)
<fiddlerwoaroof>
hi everyone!
amb007 has joined #commonlisp
<beach>
Hello fiddlerwoaroof.
<fiddlerwoaroof>
I've been writing a lot less lisp than I'd like
<beach>
That's not good.
<stylewarning>
fiddlerwoaroof: thanks! Maybe when communication needs hit a threshold a channel can be made.
<fiddlerwoaroof>
stylewarning: have you thought at all about the representation of phantom type variables?
<stylewarning>
Just a little but not much
amb007 has quit [Ping timeout: 260 seconds]
<fiddlerwoaroof>
It's one of my favorite tricks available with a nominal type system to help propagate information with no runtime cost
amb007 has joined #commonlisp
<stylewarning>
fiddlerwoaroof: yeah I agree
<fiddlerwoaroof>
But, it's a bit weird that there's no way to introspect the missing variable (afaict)
<fiddlerwoaroof>
Reifying them somehow would also let the constraints pass through untyped code
kstuart has joined #commonlisp
ln43 has joined #commonlisp
kakuhen has quit [Read error: Connection reset by peer]
froggey has quit [Quit: leaving]
froggey-1 is now known as froggey
kstuart has quit [Quit: rcirc on GNU Emacs 28.0.50]
kstuart has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
cage has joined #commonlisp
amb007 has quit [Ping timeout: 245 seconds]
amb007 has joined #commonlisp
ln43 has quit [Quit: ln43]
Inline has joined #commonlisp
Inline has quit [Quit: Leaving]
cage has quit [Remote host closed the connection]
cage has joined #commonlisp
pjb has joined #commonlisp
cosimone has joined #commonlisp
cosimone` has joined #commonlisp
frgo has quit [Remote host closed the connection]
cosimone has quit [Ping timeout: 252 seconds]
frgo has joined #commonlisp
cosimone` has quit [Remote host closed the connection]
cosimone has joined #commonlisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
lisp123_ has joined #commonlisp
lisp123 has quit [Ping timeout: 260 seconds]
cosimone has quit [Remote host closed the connection]
Inline has joined #commonlisp
Inline has quit [Remote host closed the connection]
random-nick has joined #commonlisp
cosimone has joined #commonlisp
lisp123 has joined #commonlisp
lisp123_ has quit [Ping timeout: 245 seconds]
Inline has joined #commonlisp
<jcowan>
You can discuss Coalton here, or of course in #lisp: it is a Lisp, so on-topic there
kstuart has quit [Ping timeout: 252 seconds]
cosimone has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
gaqwas has quit [Remote host closed the connection]
gaqwas has joined #commonlisp
Lycurgus has joined #commonlisp
yitzi has joined #commonlisp
<shka>
jcowan: coalton looks like a very useful thing for certain applications
<shka>
if i understand correctly, the whole point is to employ static type safety
<shka>
it is not about the performance whatsoever
gaqwas has quit [Remote host closed the connection]
hendursa1 has quit [Quit: hendursa1]
gaqwas has joined #commonlisp
hendursaga has joined #commonlisp
cosimone has joined #commonlisp
igemnace has joined #commonlisp
perrierjouet has joined #commonlisp
lisp123 has quit [Quit: Leaving...]
Fare has joined #commonlisp
waleee has joined #commonlisp
kulernil has quit [Remote host closed the connection]
kulernil has joined #commonlisp
aleamb has joined #commonlisp
kulernil has quit [Remote host closed the connection]
kulernil has joined #commonlisp
abrantesasf has joined #commonlisp
<Josh_2>
Good afternoon everyone
Inline has quit [Quit: Leaving]
<beach>
Hello Josh_2.
Fare has quit [Ping timeout: 260 seconds]
karlosz has joined #commonlisp
sjl has joined #commonlisp
Alfr has quit [Ping timeout: 265 seconds]
mariari has quit [Quit: WeeChat 3.2]
mariari has joined #commonlisp
frgo has quit [Quit: Leaving...]
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
sander has quit [Quit: So long! :)]
sander has joined #commonlisp
frgo has joined #commonlisp
frgo has quit [Client Quit]
khrbt_ has quit [Ping timeout: 260 seconds]
Lycurgus has quit [Quit: Exeunt]
khrbt has joined #commonlisp
Alfr has joined #commonlisp
lisp123 has joined #commonlisp
karlosz has quit [Quit: karlosz]
<lisp123>
Is there a optimal way to create a hash table with a custom test function, without defining your own hash function to go alongside the test condition?
<lisp123>
I can't imagine there is..
<beach>
No, no programming system can guess a hash function from an equality test.
<lisp123>
Thought so, thanks
<pjb>
lisp123: what do you mean by "optimal"?
<pjb>
You can create a hash-table with a test function AND a hash function. Note that sxhash is provided, but 1- it's not generic, 2- it's not necessarily good for your objects, 3- it's not used by CL hash-tables (or at least, it's implementation dependent whether it's used or not).
<lisp123>
Unfortunately I do not have a hash function
<pjb>
If by "optimal" you mean with minimal programmer effort, then you can create a hash-table as a wrapper with a custom test and hash-function using cl:hash-table to avoid having to re-implement everything.
<pjb>
lisp123: then, perhaps you have all the keys in advance? There are algorithms to create perfect hash-functions given a known list of keys.
gaqwas has quit [Remote host closed the connection]
<lisp123>
No, unfortunately not
<pjb>
Then, as beach said, the answer is no.
<lisp123>
Issue is I want to match (1 * 3) to any list where (1 2 3), (1 4 3), etc.
<lisp123>
Thanks, thought so
<pjb>
Oh, you want a pattern matcher!
gaqwas has joined #commonlisp
<pjb>
Or you can write a wrapper computing the key: (defun get-my-key (list) (list (first list) (third list))) (setf (gethash (get-my-key (my-object-list object)) table) object)
<pjb>
Using an 'equal cl:hash-table.
<lisp123>
Unfortunately that was but an example
<lisp123>
I equally want to be able to filter on (1 2 *) and so forth
<lisp123>
I have a function which can match two lists and disregard any discrepancies where there is a *
<pjb>
lisp123: if you have a finite number of combinations, you can have multiple entries in the hash-table.
<pjb>
with (setf select) you cannot have a wildcard. (* is just taken as a key, but it couldn't be retrieved alone with (select).
cosimone has quit [Remote host closed the connection]
karlosz has quit [Quit: karlosz]
ln43 has joined #commonlisp
<pve>
pjb: that's great!
Bi[m] has joined #commonlisp
<lisp123>
pjb: Thanks!
<ln43>
hi all: is there an updated version of AIMA (4th edition) using CL?
sander has joined #commonlisp
Oladon has joined #commonlisp
hexology has joined #commonlisp
vats has joined #commonlisp
test_user has joined #commonlisp
<pjb>
ln43: yes, it's called PAIP.
<pjb>
PAIP = Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp
<ln43>
ok... i was starting reading paip but aima is the recommended book for AI looking around
<ln43>
anyway ok... i will try to read both but is better start from only one to avoiid any possible confusion
<ln43>
but looking at the contents of PAIP is not almost the same as AIMA4e ... at least all the algorithms are not included
<pjb>
It would have been too big to include all of them. And so, they're left as an exercise for the reader.
<pjb>
Have fun!
<ln43>
ok, I was asking just to know if there was an interest in the CL community to have the code available for further exploration using M-. and M-, that is the approach i'm currently using