lagash has quit [Remote host closed the connection]
lagash has joined #picolisp
Abhishek_ has quit [Server closed connection]
Abhishek_ has joined #picolisp
seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
seninha has quit [Quit: Leaving]
avocadoist has quit [Ping timeout: 264 seconds]
<pablo_escoberg>
@beneroth: Thanks for the detailed answer, but I guess my question wasn't clear: I have a test I think should work but doesn't (FWIW, I copied and pasted both arguments to `test` from the REPL to the command line in the REPL). So I wanted to see what `test` was seeing and did `(debug `test)`. But once I hit the breakpoint, I found code I
<pablo_escoberg>
don't understand, nor do I understand how to check values. The function is declared as `(de test ("Pat" . "Prg")` but from inside, I can't seem to get the values of `"Pat"` and `"Prg"`. Hence my (poorly worded and now updated) question: how do I get these values? Also, just for my general knowledge, why are these not declared as just `Pat`
<pablo_escoberg>
and `Prg`?
avocadoist has joined #picolisp
<abu[7]>
Good morning pablo_escoberg!
<abu[7]>
Yes, "Pat" and "Prg" are transients
<abu[7]>
So they are equivalent to (private)
<abu[7]>
You *can* access such symbols with 'loc' though
<abu[7]>
(val (loc "Pat" test))
<abu[7]>
> why are these not declared as just `Pat` : This is to protect them from conflicts
<abu[7]>
(let Pat "foo" ... (test ... Pat ..)) then the outer 'Pat' would be overridden by 'Pat' inside 'test'
<abu[7]>
See "Are there no problems caused by dynamic binding?" in the FAQ
<pablo_escoberg>
Awesome. Thanks for the pointers.
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
seninha has joined #picolisp
seninha has quit [Ping timeout: 260 seconds]
msavoritias has joined #picolisp
teddydd has quit [Ping timeout: 246 seconds]
teddydd has joined #picolisp
seninha has joined #picolisp
lagash has quit [Ping timeout: 246 seconds]
seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
lagash has joined #picolisp
seninha has quit [Quit: Leaving]
msavoritias has quit [Ping timeout: 252 seconds]
avocadoist has quit [Ping timeout: 252 seconds]
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]