jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
nij- has joined #commonlisp
Alfr has quit [Quit: Leaving]
Alfr has joined #commonlisp
random-nick has quit [Ping timeout: 256 seconds]
waleee has quit [Ping timeout: 240 seconds]
lucasta has quit [Read error: Connection reset by peer]
lucasta has joined #commonlisp
tyson2 has quit [Read error: Connection reset by peer]
czy has joined #commonlisp
makomo has joined #commonlisp
Guest18 has joined #commonlisp
makomo has quit [Client Quit]
bilegeek has quit [Quit: Leaving]
lucasta has quit [Read error: Connection reset by peer]
ym has joined #commonlisp
nij- has quit [Ping timeout: 240 seconds]
ym has quit [Ping timeout: 265 seconds]
semarie has quit [Remote host closed the connection]
semarie has joined #commonlisp
Perflosopher has quit [Ping timeout: 240 seconds]
Perflosopher has joined #commonlisp
NicknameJohn has joined #commonlisp
pve has joined #commonlisp
msavoritias has joined #commonlisp
Cymew has joined #commonlisp
easye has joined #commonlisp
igemnace has joined #commonlisp
shka has joined #commonlisp
_cymew_ has joined #commonlisp
Guest18 has quit [Quit: Client closed]
LW has joined #commonlisp
LW has quit [Client Quit]
mgl has joined #commonlisp
luna-is-here has quit [Ping timeout: 265 seconds]
luna-is-here has joined #commonlisp
dcb has quit [Quit: MSN Messenger 3.8]
Inline has quit [Remote host closed the connection]
Inline has joined #commonlisp
varjag has joined #commonlisp
alcor has joined #commonlisp
scymtym has quit [Ping timeout: 256 seconds]
Brucio-61 has quit [Ping timeout: 260 seconds]
prokhor has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
johnjaye has quit [Ping timeout: 240 seconds]
johnjaye has joined #commonlisp
Brucio-61 has joined #commonlisp
MajorBiscuit has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
nij- has joined #commonlisp
nij- has quit [Ping timeout: 240 seconds]
Inline has quit [Remote host closed the connection]
Inline has joined #commonlisp
prokhor has joined #commonlisp
zest has quit [Remote host closed the connection]
alcor has quit [Ping timeout: 240 seconds]
mi6x3m has joined #commonlisp
<mi6x3m> hey friends, how can I setf a symbol that holds a variable's name?
<mi6x3m> (defvar *foo* 5), i have (let ((foo '*foo*)) (setf ... 5)) ?
scymtym has joined #commonlisp
<scymtym> mi6x3m: (let ((foo '*foo*)) (setf (symbol-value foo) 10))
<mi6x3m> thanks!!
inline__ has joined #commonlisp
easye has quit [Remote host closed the connection]
<edgar-rft> not sure if it's a good idea, but isn't that what SET is for? like (let ((foo '*foo*)) (set foo 10))
Inline has quit [Ping timeout: 256 seconds]
<beach> Yes, it's probably better, even though it is indicated as deprecated.
johnjaye has quit [Ping timeout: 256 seconds]
johnjaye has joined #commonlisp
<mi6x3m> hmmm
mi6x3m has quit [Remote host closed the connection]
festerdam has joined #commonlisp
Noisytoot has quit [Quit: ZNC 1.8.2 - https://znc.in]
Noisytoot has joined #commonlisp
mi6x3m has joined #commonlisp
<mi6x3m> sorry, it's me again with the symbol-value questions
<mi6x3m> I can't get it to work
<mi6x3m> do I need to prepend the symbols with the package I am in-package'd in?
tyson2 has joined #commonlisp
<White_Flame> any unadorned symbol which was read into the same current package will be the exact same EQ symbol
<White_Flame> but if you're doing stuff across multiple packages, it can't hurt to try
MajorBiscuit has quit [Ping timeout: 246 seconds]
MajorBiscuit has joined #commonlisp
random-nick has joined #commonlisp
<pve> mi6x3m: perhaps use https://plaster.tymoon.eu to show what you have so far
<mi6x3m> hmm, I get the value of '*foo* is not a symbol
<mi6x3m> but i defineit with (defvar *foo* 3)
<mi6x3m> how do I get a symbol of *foo*?
kevingal has joined #commonlisp
<jackdaniel> what makes you think that the value of '*foo* is not a symbol?
<jackdaniel> CL-USER> (type-of '*foo*) ; -> SYMBOL
<mi6x3m> OK something very weird is going on
<mi6x3m> symbol-value exists with '*foo* is not of type SYMBOL
<jackdaniel> CL-USER> (defvar *foo* 42) ; -> *FOO*
<jackdaniel> CL-USER> (symbol-value '*foo*) ; -> 42
<jackdaniel> ,(progn (defvar *foo* 42) (symbol-value '*foo*))
<ixelp> (progn (defvar *foo* 42) (symbol-value '*foo*)) => 42
<jackdaniel> pve: had an excellent suggestion, paste a minimized example of whatever it is that doesn't work for you
<jackdaniel> (on plaster.tymoon.eu)
<mi6x3m> ok found it out
<jackdaniel> s/pve:/pve/
<mi6x3m> what i was actually needing was SETQ
kevingal has quit [Ping timeout: 246 seconds]
kevingal has joined #commonlisp
<mi6x3m> no that's not it too
<mi6x3m> damn
<pve> mi6x3m: if you show the code, you will receive an answer in approximately one nanosecond :)
<yitzi> And often constructive suggestions about other/better ways to accomplish your task.
<mi6x3m> pve I am trying, the weird thing is it works in the REPL
<mi6x3m> just gimme a few =) you friends are indeed always quick and helpful!
<jackdaniel> you are trying to paste it on the pastebin?
<jackdaniel> why doesn't the pastebin work?
<ixelp> Release v2.0.0 · lem-project/lem · GitHub
<Shinmera> Dang, nice
<mi6x3m> OK I get it
<mi6x3m> i am SO STUPID
<mi6x3m> I was quouting in an already quoted list
<jackdaniel> mi6x3m: are you listening what people actually ask you to do?
mgl has quit [Quit: Client closed]
<mi6x3m> yes jackdaniel :)
<mi6x3m> sometimes it's hard to provide a sample
<jackdaniel> I have a strong conviction that you are not
<mi6x3m> I understand it appears that way from this one interaction
mgl has joined #commonlisp
<mi6x3m> but I did solve it now
<pve> your very first error message "the value of '*foo* is not a symbol" gave it away :)
<mi6x3m> I had (destructuring-bind (foo bar) '("foo" '*foo*)) (setf (symbol-value bar) 3))
<mi6x3m> pve, yeah hehe :)
chrcav has quit [Ping timeout: 240 seconds]
<jackdaniel> Shinmera: very cool indeed. do you use lem?
<Shinmera> I'm not very adventurous in my tool use, so no
<Shinmera> But if the project keeps trucking along as well as it has so far I very well might in the future :)
chrcav has joined #commonlisp
<pve> Speaking of conditions, SBCL signals a warning when a defpackage form is evaluated and the package exports symbols that are not specified by the defpackage form ("WARNING: ... also exports the following symbols: ...").
<pve> My tests show that CCL does not signal such a warning. Is this unique to SBCL, or do other implementations also do this?
<jackdaniel> it is a warning that sbcl devs found to be an important clue to the programmer, it is not demanded by the standard
<pve> ok, thanks
<jackdaniel> sure
<pve> does ECL do it?
<jackdaniel> I don't remember, but I'd be surprised if it did
<pve> alright
Brucio-61 has quit [Ping timeout: 260 seconds]
scymtym_ has joined #commonlisp
Brucio-61 has joined #commonlisp
scymtym has quit [Ping timeout: 248 seconds]
easye has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 246 seconds]
MajorBiscuit has joined #commonlisp
NicknameJohn has quit [Ping timeout: 268 seconds]
Lycurgus has joined #commonlisp
nij- has joined #commonlisp
mi6x3m has quit [Remote host closed the connection]
Brucio-61 has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
scymtym_ is now known as scymtym
inline__ has quit [Quit: Leaving]
<scymtym> the reason for SBCL's default behavior is that the specification says "If the new definition is at variance with the current state of that package, the consequences are undefined". the behavior can be customized: https://www.sbcl.org/manual/#Package-Variance
<ixelp> SBCL 2.3.4 User Manual
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
xaltsc has quit [Quit: WeeChat 3.8]
dtman34 has quit [Ping timeout: 240 seconds]
<scymtym> counterintuitively, requesting the :ERROR behavior makes it easier for a compilation to succeed since restarts for (interactively) resolving the variance issues are established when an error is signaled but not when a warning is signaled
Brucio-61 has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
scymtym has quit [Ping timeout: 240 seconds]
Brucio-61 has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
nij- has quit [Ping timeout: 248 seconds]
Brucio-61 has quit [Ping timeout: 260 seconds]
dtman34 has joined #commonlisp
Brucio-61 has joined #commonlisp
tyson2 has joined #commonlisp
NicknameJohn has joined #commonlisp
ldb has joined #commonlisp
<Demosthenex> https://github.com/gansm/finalcut looks so good, i may have to learn more about doing FFI in CL so i can use it
<ixelp> GitHub - gansm/finalcut: A text-based widget toolkit
waleee has joined #commonlisp
ldb has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.1)]
mgl has quit [Quit: Client closed]
alcor has joined #commonlisp
waleee has quit [Ping timeout: 256 seconds]
NicknameJohn has quit [Ping timeout: 250 seconds]
waleee has joined #commonlisp
rogersm has quit [Quit: Leaving...]
tyson2 has quit [Remote host closed the connection]
<_death> Demosthenex: reminds me of the old norton anti virus TUI
Cymew has quit [Ping timeout: 246 seconds]
<_death> or cpav really
<Demosthenex> _death: or Turbovision ;]
<Demosthenex> and that's really what i want, is a lightweight TUI library for simple apps over ssh ;]
Krystof has quit [Ping timeout: 256 seconds]
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
<_death> right, I was talking about the aesthetics.. for turbovision there was https://github.com/magiblot/tvision .. my old TUI thing is still in deep freeze
<ixelp> GitHub - magiblot/tvision: A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. No [...]
ym has joined #commonlisp
<Demosthenex> yep
waleee has quit [Ping timeout: 240 seconds]
MajorBiscuit has quit [Ping timeout: 240 seconds]
festerdam has quit [Ping timeout: 264 seconds]
MajorBiscuit has joined #commonlisp
tyson2 has joined #commonlisp
tevo has quit [Ping timeout: 240 seconds]
cage has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 256 seconds]
igemnace has quit [Remote host closed the connection]
igemnace has joined #commonlisp
johnjaye has quit [Ping timeout: 240 seconds]
johnjaye has joined #commonlisp
nij- has joined #commonlisp
green_ has quit [Ping timeout: 240 seconds]
NicknameJohn has joined #commonlisp
<phoe> pve: use UIOP:DEFINE-PACKAGE to avoid this warning since it also defines what happens in case of package variance
<phoe> (in a way that doesn't require interactive interventions such as restarts)
green_ has joined #commonlisp
igemnace has quit [Remote host closed the connection]
dcb has joined #commonlisp
rgherdt has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
<pve> phoe: Thanks for reminding me about uiop:define-package. This is about my capitalized-export library, which is pretty incompatible with sbcl's defpackage :) So with sbcl I just use make-package. But I'm going to add a note that the uiop version could be used too.
jxonas has joined #commonlisp
jxonas has quit [Quit: Client closed]
rgherdt has left #commonlisp [Leaving]
karlosz has joined #commonlisp
ym has quit [Ping timeout: 265 seconds]
tyson2 has joined #commonlisp
Inline has joined #commonlisp
czy has quit [Ping timeout: 240 seconds]
green_ has quit [Ping timeout: 265 seconds]
green_ has joined #commonlisp
green_ has quit [Remote host closed the connection]
green_ has joined #commonlisp
simendsjo has joined #commonlisp
NicknameJohn has quit [Ping timeout: 265 seconds]
waleee has joined #commonlisp
kevingal has quit [Ping timeout: 256 seconds]
Bike has quit [Ping timeout: 264 seconds]
festerdam has joined #commonlisp
rogersm has joined #commonlisp
msavoritias has quit [Remote host closed the connection]
Bike has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 28.2]
prokhor has quit [Ping timeout: 264 seconds]
lucasta has joined #commonlisp
rogersm has quit [Quit: Leaving...]
_cymew_ has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
zest has joined #commonlisp
mgl has joined #commonlisp
markb1 has quit [Ping timeout: 250 seconds]
attila_lendvai has quit [Ping timeout: 256 seconds]
alcor has quit [Read error: Connection reset by peer]
mgl has quit [Quit: Client closed]
markb1 has joined #commonlisp
NotThatRPG has joined #commonlisp
Krystof has joined #commonlisp
simendsjo has quit [Ping timeout: 240 seconds]
pjb has joined #commonlisp
mariari has quit [Read error: Connection reset by peer]
zest has quit [Remote host closed the connection]
dra has joined #commonlisp
mariari has joined #commonlisp
dra_ has joined #commonlisp
dra has quit [Killed (NickServ (GHOST command used by dra_!~dra@2a01:598:b028:96a8:985c:4c1:b470:cfe5))]
dra_ is now known as dra
dra has joined #commonlisp
dra has quit [Changing host]
dra_ has joined #commonlisp
pve has quit [Quit: leaving]
donovanquixote has joined #commonlisp
donovanquixote has quit [Client Quit]
shka has quit [Ping timeout: 240 seconds]
permagreen has joined #commonlisp
dra_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
tevo has joined #commonlisp
MajorBiscuit has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 264 seconds]
avocadoist has joined #commonlisp
karlosz has quit [Quit: karlosz]
dra has quit [Remote host closed the connection]
EsoAlgo8 has quit [Remote host closed the connection]
EsoAlgo8 has joined #commonlisp