libera/#commonlisp - IRC Chatlog
Search
12:41:13
lotuseater
nice :) I had also get used to that LAST returns a list rather than the element alone
12:42:16
hayley
I recall the book Land of Lisp did mention that exact use-case for LAST returning the last cons cell, funnily enough.
12:44:48
Cymew
I might be weird, but I actually think "(setf (car (last list)) 3)" is clearer than last-elt as it forces you to think through the procedure in details. There are a few gotchas in that one.
12:46:09
jackdaniel
you may open code most setf expansions too to better understand low-level operations
13:58:50
didi
If something is EQ+, it has to be EQ too, right? i.e., if (EQL a b), or (EQUAL a b), or (EQUALP a b), it is also true that (EQ a b), isn't it?
15:09:55
rain3
how to make asdf automatically load files specified in (uiop:define-package ... (:use-reexport #:HERE ) for systems with :class :package-inferred-system ? it is not right to have to add an extra (:import-from #:HERE)
15:18:30
rain3
that code with duplication, works. If I remove the duplicate code (the :import-from form) , asdf won't load the files any more
15:32:23
rain3
I think one the :use-reexport ed file failed to compile and instead of telling me that it failed to compile it said 'that package doesn't exist' and only after adding :import-from it would tell me 'that file doesn't compile'
15:40:19
_death
well, if you still have the failing case, you can look deeper.. as a rule giving up in debugging is bad..
15:43:58
rain3
it seems the failing case is gone for now, if it appears again I will continue investigating
17:41:14
rain3
ok. adding it doesn't fix this issue; if "asdf-package-system" should be added, the manual should be updated to specify that https://common-lisp.net/project/asdf/asdf/The-package_002dinferred_002dsystem-extension.html
17:50:06
rain3
ok I removed the newer asdf, now I am using "3.3.1" . same thing happening , any idea what's the quickest way to compile sbcl for windows 32 bit ? maybe moving to a newer version will fix this