<sveit>
hi. do people have a good workflow for evaluating longer expressions at the REPL? I use SLY, which allows to inspect output at the REPL quite well. for example the hashtable (let ((ht (make-hash-table))) (setf (gethash 'a ht) 'b) ht) appears at the REPL as an inspectable object. but I do not know a way to write a long expression in a file and have the result of evaluating that expression show up in the REPL in this way, apart from
<sveit>
copying the whole thing.
<sveit>
into the REPL and evaluating
<veqq>
Does anyone know of a "dictionary" where you can pick e.g. sets and see the API/operations each language has (and their symbols)?
dra has quit [Ping timeout: 272 seconds]
<_death>
sveit: check out slime-eval-last-expression-in-repl (C-c C-j)
alfiee has joined #commonlisp
veqq has quit [Quit: Client closed]
alfiee has quit [Ping timeout: 252 seconds]
olnw has joined #commonlisp
sveit has quit [Ping timeout: 265 seconds]
rkazak has joined #commonlisp
attila_lendvai has joined #commonlisp
jonatack has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
amb007 has joined #commonlisp
attila_lendvai has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
triffid has quit [Quit: triffid]
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 265 seconds]
alfiee has joined #commonlisp
olivial has quit [Remote host closed the connection]
alfiee has quit [Ping timeout: 244 seconds]
olivial has joined #commonlisp
triffid has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 245 seconds]
bpanthi977 has joined #commonlisp
olivial_ has joined #commonlisp
olivial has quit [Ping timeout: 260 seconds]
attila_lendvai has joined #commonlisp
rendar has quit [Ping timeout: 246 seconds]
attila_lendvai_ has quit [Ping timeout: 252 seconds]
bjorkint0sh has quit [Remote host closed the connection]
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
josrr has quit [Remote host closed the connection]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 265 seconds]
attila_lendvai has quit [Remote host closed the connection]
Inline has quit [Ping timeout: 245 seconds]
attila_lendvai has joined #commonlisp
Artea has quit [Ping timeout: 246 seconds]
attila_lendvai has quit [Read error: Connection reset by peer]
random-nick has quit [Ping timeout: 245 seconds]
rkazak has joined #commonlisp
amb007 has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
amb007 has quit [Ping timeout: 265 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 248 seconds]
geminium has joined #commonlisp
geminium has quit [Ping timeout: 248 seconds]
jon_atack has quit [Ping timeout: 246 seconds]
rkazak has joined #commonlisp
surabax has quit [Quit: Leaving]
pabs3 has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 248 seconds]
alfiee has joined #commonlisp
Artea has joined #commonlisp
pabs3 has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
istewart has joined #commonlisp
rkazak has joined #commonlisp
amb007 has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
erdem has left #commonlisp [WeeChat 3.8]
amb007 has quit [Ping timeout: 265 seconds]
alfiee has joined #commonlisp
rkazak has joined #commonlisp
alfiee has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 248 seconds]
erdem has joined #commonlisp
rkazak has joined #commonlisp
jonatack has joined #commonlisp
jonatack has quit [Excess Flood]
amb007 has joined #commonlisp
jonatack has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
rkazak has joined #commonlisp
alfiee has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
alfiee has quit [Ping timeout: 260 seconds]
edgar-rft` has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
edgar-rft_ has quit [Ping timeout: 246 seconds]
Pixel_Outlaw has joined #commonlisp
pok has quit [Ping timeout: 260 seconds]
mishoo has joined #commonlisp
rkazak has joined #commonlisp
msv has quit [Remote host closed the connection]
msv has joined #commonlisp
m5zs7k has quit [Quit: m5zs7k]
m5zs7k has joined #commonlisp
pranav has quit [Ping timeout: 260 seconds]
pranav has joined #commonlisp
alfiee has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
alfiee has quit [Ping timeout: 260 seconds]
rtypo has quit [Ping timeout: 248 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
geminium has joined #commonlisp
rkazak has joined #commonlisp
geminium has quit [Ping timeout: 246 seconds]
Alfr has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
alfiee has quit [Ping timeout: 260 seconds]
gnoo has quit [Ping timeout: 252 seconds]
gnoo has joined #commonlisp
vardhan has joined #commonlisp
rkazak has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
geminium has joined #commonlisp
alfiee has joined #commonlisp
mishoo has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 260 seconds]
alfiee has quit [Ping timeout: 260 seconds]
waleee has joined #commonlisp
vardhan has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
shka has joined #commonlisp
cmack` has joined #commonlisp
cmack has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 260 seconds]
geminium has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 260 seconds]
bpanthi977 has quit [Ping timeout: 245 seconds]
Demosthenex has quit [Remote host closed the connection]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
geminium has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
Demosthenex has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
pve has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
mishoo has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 244 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 244 seconds]
spdegabrielle has joined #commonlisp
Guest47 has joined #commonlisp
Guest47 has quit [Client Quit]
rkazak has joined #commonlisp
Alfr has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 248 seconds]
waleee has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
geminium has quit [Ping timeout: 244 seconds]
mwnaylor has quit [Ping timeout: 272 seconds]
msv has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
alfiee has joined #commonlisp
mishoo has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
alfiee has quit [Ping timeout: 265 seconds]
msv has joined #commonlisp
msv has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 276 seconds]
AetherWind has joined #commonlisp
MyNetAz has quit [Remote host closed the connection]
MyNetAz has joined #commonlisp
rainthree has joined #commonlisp
buffet_ is now known as buffet
<rainthree>
skin: if you find somebody to talk to about the history of asdf, please ask him this question: "drmeister Is there a way to ask ASDF why it recompiles systems? I can load cando (a Common Lisp implementation) and then `(ql:quickload :cando-jupyter)` - it compiles some systems. Shut it down, repeat the process, and it compiles the same systems again." https://irclog.tymoon.eu/libera/%23commonlisp?around=1729134787#1729134787
rkazak has joined #commonlisp
alfiee has joined #commonlisp
buffet has quit [Quit: Bye!]
buffet has joined #commonlisp
spdegabrielle has quit [Quit: Connection closed for inactivity]
alfiee has quit [Ping timeout: 252 seconds]
josrr has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
alternateved has joined #commonlisp
rtypo has joined #commonlisp
bjorkintosh has quit [Remote host closed the connection]
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
gooba` has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
gooba` has quit [Remote host closed the connection]
gooba has quit [Remote host closed the connection]
Inline has quit [Remote host closed the connection]
Inline has joined #commonlisp
rkazak has joined #commonlisp
<jackdaniel>
rainthree: if it recompiles some deps it is because timestamps of source files change. so there is likely a step in systems themselves that generates new files
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 276 seconds]
decweb has joined #commonlisp
<smlckz>
Aside from alist and plist, is there a name of the list taken by let and friends? (let*, letrec, flet, labels, macrolet, what else are there?)
<beach>
"bindings"
spdegabrielle has joined #commonlisp
<smlckz>
hmm
<beach>
From the glossary: binding n. an association between a name and that which the name denotes. “A lexical binding is a lexical association between a name and its value.” When the term binding is qualified by the name of a namespace, such as “variable” or “function,” it restricts the binding to the indicated namespace, as in: “let establishes variable bindings.” or “let establishes bindings of variables.”
rkazak has quit [Ping timeout: 265 seconds]
<younder>
bindings of variables to variable bindings in the symbol
<beach>
What?
<beach>
smlckz: You don't seem pleased with that answer.
<beach>
younder: I don't see the word "symbol" mentioned in that section, and I don't know why you used it either.
<younder>
The type and nature of an environment object is implementation-dependent. The values of environment parameters to macro functions are examples of environment objects
<younder>
Is what it sais.
<beach>
I know that, but I wanted to know what you meant by "to variable bindings in the symbol"
bpanthi977 has joined #commonlisp
jonatack has quit [Ping timeout: 246 seconds]
bpanthi977 has quit [Ping timeout: 260 seconds]
jonatack has joined #commonlisp
<younder>
If I am reading this right variables are bound to symbols when evaluating forms. There is on function slot and one variable slot per symbol. More surprisingly there is a separate type constant-variable.
<younder>
I quote: There are three kinds of variables: lexical variables, dynamic variables, and constant variables.
<younder>
isn't a constant variable a contradiction of terms? I mean if it is constant then it isn't variable.
rkazak has joined #commonlisp
alfiee has joined #commonlisp
wacki has joined #commonlisp
alfiee has quit [Ping timeout: 265 seconds]
<younder>
Seems to me I want symbol-macrolet: Define the NAMES as symbol macros with the given EXPANSIONS. Within the body, references to a NAME will effectively be replaced with the EXPANSION.
rkazak has quit [Ping timeout: 260 seconds]
<younder>
I mean a variable you can't change defeats the purpose of declaring it in the first place. You want changing a value in defconstant to be reflected throughout. It behaves more like defvar.
<TMA>
younder: you don't want constants to change
<TMA>
younder: constant-variable is useful, because it communicates the intent of the constant better: what is 12? can you tell my intent, when you see me using 12?
<TMA>
do I mean +number-of-months-in-a-year+ or +number-of-inches-in-a-foot+? or something different?
surabax has joined #commonlisp
<younder>
If they are truly constant, like +moths-in-a-year+, no problem. But consider +stack-size+ where you might want to adjust the constant.
<younder>
You can't just go in and change the definition of the constant because according to the spec that would be undefined.
<_death>
younder: "constant variable" is a single term.. it refers to a variable whose value cannot change..
<younder>
You are only guaranteed for it to take effect if you restart the REPL.
<TMA>
don't use defconstant for something you intend to change without restarting then
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
<younder>
right, symbol-macrolet which substitutes the value in the form works better.
<younder>
beach: I have come to the conclusion that you don't set symbols in 'let' unless they are 'special'. You maintain a local store which you discard when going out of the block's scope.
<beach>
younder: Right, and not even special variables are stored in the symbol, because that would not be thread safe.
<beach>
younder: And there is nothing that says that it is required to have a function slot and a variable slot in a symbol.
rkazak has joined #commonlisp
alfiee has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 260 seconds]
<younder>
Well you need to define symbol-[name plist value function macro-let], but they need not be a structure.
<beach>
They need not be stored in the symbol object.
<younder>
right
alfiee has quit [Ping timeout: 260 seconds]
zwr has joined #commonlisp
dtman34 has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
shawnw has joined #commonlisp
shawnw has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 244 seconds]
yaneko has quit [Read error: Connection reset by peer]
yaneko has joined #commonlisp
amb007 has joined #commonlisp
bjorkintosh has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 248 seconds]
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has quit [Changing host]
amb007 has quit [Ping timeout: 265 seconds]
spdegabrielle has quit [Quit: Connection closed for inactivity]
<Shinmera>
The only thing I can figure is the #.(vec ..) forms, which return a vec instance. But that has a make-load-form, so it should be dumpable just fine.
<jackdaniel>
in fact it does - yesterday ticket in the repo
<Shinmera>
oh well I'll be.
alfiee has joined #commonlisp
<jackdaniel>
try as a test rebaming file to debug-trial.lisp
<Shinmera>
... is that really- ok
<jackdaniel>
renaming*
<Shinmera>
Well, I'll let you know in an hour or two when it finishes compiling I guess.
<jackdaniel>
alright, thanks
<Shinmera>
there was another weird miscompilation thing in trial/bag.lisp, where it was complaining about a (the simple-vector value) saying the value wasn't a simple-vector, even though it was.
amb007 has quit [Ping timeout: 265 seconds]
<Shinmera>
incrementally recompiling the function seemed to fix it, but yeah.
Inline has quit [Ping timeout: 265 seconds]
<Shinmera>
oh, and a couple times I got a "Detected access to an invalid or protected memory address." though just hitting retry on those made em continue
Guest68 has left #commonlisp [#commonlisp]
alfiee has quit [Ping timeout: 252 seconds]
apac has joined #commonlisp
jonatack has quit [Ping timeout: 260 seconds]
cage has joined #commonlisp
cage has quit [Excess Flood]
<jackdaniel>
these are too vague fto be actionable
<Shinmera>
yeah, sorry. just noting what I encountered.
<jackdaniel>
(also use the latest release just in case)
jonatack has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
cage has joined #commonlisp
AetherWind has quit [Quit: leaving]
rkazak has joined #commonlisp
Inline has joined #commonlisp
jonatack has quit [Ping timeout: 244 seconds]
<Shinmera>
renaming doesn't seem to have helped: LOAD: Could not load file #P"/home/linus/.cache/common-lisp/ecl-23.9.9-linux-x64/home/linus/Projects/cl/trial/debug-draw.fas" (Error: "/home/linus/.cache/common-lisp/ecl-23.9.9-linux-x64/home/linus/Projects/cl/trial/debug-draw.fas: undefined symbol: Aq0aJIZ4peq9H_EoTJsU71")
<Shinmera>
I'll try again with latest another day, need to hurry off now.
jonatack has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 276 seconds]
rkazak has quit [Ping timeout: 244 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
youthpastor has quit [Ping timeout: 248 seconds]
dbotton has quit [Ping timeout: 248 seconds]
alanz has quit [Ping timeout: 248 seconds]
dbotton has joined #commonlisp
youthpastor has joined #commonlisp
masinter has quit [Ping timeout: 248 seconds]
splittist has quit [Ping timeout: 248 seconds]
szkl has quit [Ping timeout: 248 seconds]
szkl has joined #commonlisp
amb007 has joined #commonlisp
rkazak has joined #commonlisp
alanz has joined #commonlisp
masinter has joined #commonlisp
splittist has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
akoana has joined #commonlisp
akoana has quit [Client Quit]
akoana has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
eddof13 has joined #commonlisp
eddof13 has quit [Quit: eddof13]
rkazak has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
zwr has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 244 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 265 seconds]
Lord_of_Life_ is now known as Lord_of_Life
decweb has joined #commonlisp
decweb has quit [Client Quit]
rkazak has joined #commonlisp
geminium_ has joined #commonlisp
bpanthi977 has joined #commonlisp
geminium has quit [Ping timeout: 265 seconds]
alfiee has joined #commonlisp
bpanthi977 has quit [Remote host closed the connection]