Search
Sunday, 10th of January 2021, 22:08:53 UTC
22:59:03
stargazesparkle
** NICK stargazesparkle[
22:59:20
stargazesparkle[
** NICK stargazesparkleM
23:41:49
stargazesparkle
I've been reading the lisp book someone sent me a few days ago and just wow
23:42:17
stargazesparkle
It's amazing how I managed to get myself as far as I did without considering what it was I was doing or why I was doing it
0:19:57
stargazesparkle
Practical Common Lisp
0:27:40
White_Flame
yep, PCL is quite highly regarded
0:28:45
charles`
I'm quite embarrassed to say that I have yet to read any lisp book.
0:32:55
White_Flame
charles`: different strokes for different folks
0:33:48
White_Flame
no shame in htat
1:06:44
charles`
Is there a way to ignore a package's nicknames in the local package without entering the debugger?
4:02:47
beach
Good morning everyone!
7:15:12
flip214
charles`: do you want in-package?
7:15:21
minion
Sorry, I couldn't find anything in the database for ``in-package''.
7:15:34
flip214
http://clhs.lisp.se/Body/m_in_pkg.htm
7:16:21
flip214
you first define a package that :USEs some other packages, then go IN-PACKAGE and have the :USEd package symbols available without package prefix.
7:40:19
beach
flip214: 1. It is specbot, not minion who knows about the Common Lisp HyperSpec.
7:40:23
specbot
http://www.lispworks.com/reference/HyperSpec/Body/m_in_pkg.htm
7:41:13
beach
flip214: 2. Perhaps you should warn about the risk of :USE-ing packages other than the CL package.
7:48:01
ck_
this particular use case read to me like using a package purely as a debugging environment, shortening the names you see.
7:48:44
beach
Oh, I didn't check the use case very well. Sorry.
7:54:25
flip214
beach: you're right, 2 is important. And I don't think this is _for_ debugging, only that doing it wrong _causes_ debugging ;/
7:55:10
ck_
It's actually me who misread it -- in my mind it said "when entering the debugger" instead of "without entering the debugger"
7:55:44
beach
ck_: Maybe you are turning dyslexic, just like I am?
8:00:28
ck_
beach: maybe. There are worse fates.
8:03:24
beach
ck_: Yes, I agree. It is possible to compensate a lot with spell checkers and abbrev processors.
8:04:33
beach
But things take longer. I get warnings about undefined functions and variables, but I can't tell that I misspelled the names.
8:05:33
flip214
one of my favourite spelling tricks (reviewing books) is to get a count of used words.... everything written only once is suspect, and twice needs a clear look as well
8:06:47
ck_
yes, that's a nice move. Also good for a histogram of non-alphanumeric characters, telling you whether some things are unbalanced
8:06:53
flip214
you think so? Thanks. I thought that's common.
8:07:39
flip214
but as I'm reviewing books and papers more or less regularly I might have automated a few bits more than other people, yeah.
9:14:56
ralt
I find :USE pretty useful when using package-inferred-systems, for other internal packages
9:15:40
ralt
for external systems I always use `(:import-from :other-package #:sym1 #:sym2)` though.
9:16:58
beach
Another reason not to use package-inferred systems.
9:17:58
ralt
I go even further: I use wild-package-inferred-systems :)
9:18:54
ralt
my .asd file has `:depends-on (("mysystem/*"))`
Monday, 11th of January 2021, 10:08:53 UTC