libera/#commonlisp - IRC Chatlog
Search
22:18:59
nij-
bike - Ah.. sorry.. I have developed a habit of reading the log .. https://irclog.tymoon.eu/libera/%23commonlisp
22:18:59
Colleen
nij-: bike said 2 hours, 4 minutes ago: please get a bouncer or something, or at least don't drop off less than five minutes asking a question if you actually want an answer
22:18:59
Colleen
nij-: bike said 2 hours, 3 minutes ago: to summarize, the loader will recreate all serialized/dumped objects, evaluate load time value forms, and then behave as if it was executing each form in sequence
22:27:08
nij-
bike Yeah, your description is what I understood. However, that page about #'load doesn't mention load-time-value.
7:22:22
beach
It means that you defined a function RENAME when you were in the COMMON-LISP-USER package, and that package imports the symbol SB-EXT:RENAME.
7:22:51
beach
Furthermore, the package SB-EXT has a "package lock" on it, so you are not allowed to do that.
7:23:12
beach
You should not use the COMMON-LISP-USER package to define your own stuff. Define your own package.
7:24:50
beach
You don't have to. If you define your own package and define RENAME in it, the problem goes away.
7:26:01
beach
(defpackage #:my-package (:use #:common-lisp)) (in-package #:my-package) (defun rename ...)
7:28:33
tourjin
I mean if somewhere in sb-ext there already rename function defined i'd like to see what it is. ...oh ok i type in commonlisp channel again. i'll ask things on clschool channel. thank you. Mr. beach
7:29:26
beach
tourjin: There are probably thousands of functions in various packages in the SBCL system. You can't possibly know them all.
7:32:34
beach
In the version of SBCL that I have, there is not function RENAME in the SB-EXT package. Just a symbol by that name.
7:49:37
tourjin
can you help me again? after trying defpackage #:my-package everythings gone. how can I go back to :sb-ext environment?