libera/#commonlisp - IRC Chatlog
Search
15:22:53
rotateq
i hope in my next rebirth I'll be sent back in time to wipe out some big decisions in newer human technology :D
15:34:00
Bike
the dynamic variable version involves a random number generator. that seems like a misunderstanding of amb
15:36:32
phoe
it should be able to work fine without shuffling, it'll just always return the same set of values every time.
15:39:16
phoe
aaa, I just realized that I have a use case for &optional and &key in the same lambda list
15:45:05
jackdaniel
(defun dafun (&optional very &key other optional keys &allow-other-optional-keys))
15:57:53
phoe
I gotta run now, but that's a quickly hacked version that should be a tad better and a bit more "enterprise-grade"
20:19:03
jmercouris
we have this in our ASD to compile a corresponding shared library http://dpaste.com/3SX5ANG4H
20:40:01
rotateq
and i deleted something in the /usr/share and cannot load other libs anymore :D maybe complete reinstallation of SBCL could help
20:42:57
Bike
jmercouris: you can define asdf classes to express dependencies on cc output more easily, i think? cffi does it for the groveler
22:13:42
phoe
okay, my production-grade AMB should be sorta decent now - asking for some review on https://plaster.tymoon.eu/view/2789#2789
22:15:56
phoe
as for the obvious question of why am I doing it - I want to make a calligraphy of AMB for the next ELS, and I need an implementation of it that I can trust (as opposed to the current rosetta code one)
22:17:10
phoe
and yes, a little bit of pretty handwritten lisp stuff to raise money for the lisp world again
22:17:51
Bike
https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-28.html#%_sec_4.3.2 yeah there's a couple
23:07:01
phoe
Bike: thanks for that resource, already found a few bugs in my code just by trying to implement that
1:01:32
akater[m]
The standard doesn't specify which predicate does getf use to find the relevant property, doesn't it? E.g. in SBCL,... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/184a9a04c6d8a133b5296c1a0d575240e3e0590d)
1:09:54
akater[m]
Oh, now I see. But I certainly saw “identical” being interpreted as something broader in a neighbourhood of Lisp which I considered small enough. That,s why I didn't follow that link in CLHS. Weird. Thank you.