skapata has quit [Remote host closed the connection]
szkl has quit [Quit: Connection closed for inactivity]
ormaaj has joined #racket
polarian has joined #racket
<polarian>
Hello, I am having issues finding how to store variables within the scope of a function/procedure. define is global, and will not work within lambda, let requires a *body* which goes out of scope and thus I can't return the value I calculate within the let block...
<polarian>
also this is not bridged to discord... right?
<polarian>
There is no warning within the channel for messages leaked to other platforms, so I am going to go with no...
<polarian>
dzoe: read a file, and then I want to parse some of the content, so I need to store it as I need to extract multiple things which cant be chained in a single expression. But if I use let, the parsed content will not be returned as the last evaluation would be "let" and thus the return value is void
<polarian>
I need some way of keeping the content of reading a file, within the scope of the entire function so that the final evaluated instruction is the return value
<polarian>
https://bpa.st/3UHA so void issues again... i is a struct, I have checked by displaying a struct that the right struct is being found, and it outputs the name
<polarian>
but I cant get it to reutrn
<polarian>
return*
<polarian>
its always void... is that due to the cons?
<polarian>
s/cons/cond
<polarian>
coming from a procedural language with "return" keyword seems to be really messing up my chain of thoughts...
<polarian>
apologies for being verbose in this channel today :(