libera/#commonlisp - IRC Chatlog
Search
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?
12:33:49
nij-
gilberth - One thing you may care (no hurries though): Aproposing "*" in novaspec doesn't work currently.
12:39:12
nij-
Question: LABELS defines local bindings to functions. How about local bindings to closures? Something like (lables_ext ((let ((x 7)) (cls () x)))) ?
12:41:39
nij-
Yeah.. but that's not "local" enough. Say in labels I have 5 local bindings, but that (x 7) is only required in the first local binding..
12:43:40
paulapatience
Depending on what you intend to do, you could make lambdas and call serapeum:fbind