<bremner>
_sfiguser: it depends a bit what you mean by "lisp inspired". If you mean have s-expressions for syntax, it makes writing macros much easier.
<bremner>
In a sense macros help you write more concise expressions.
ng0 has quit [Quit: Alexa, when is the end of world?]
dddddd has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.3]
juanfra has quit [Ping timeout: 246 seconds]
iyzsong has quit [Ping timeout: 246 seconds]
emacsomancer has quit [Quit: WeeChat 2.3]
libertyprime has joined #racket
<rlavery>
Are there accepted file i/o idioms in Typed Racket? I'm not sure how to assuage the type checker about the fact that read and load can return multiple values.
<rlavery>
For my purposes I'm fine throwing away all but the first value.
<rlavery>
Or all but the last, for that matter.
adamantium has left #racket ["ERC (IRC client for Emacs 26.1)"]
<rlavery>
I was hoping wrapping it in a begin would do the trick, but apparently not.
orivej has quit [Ping timeout: 245 seconds]
ismay has quit [Ping timeout: 264 seconds]
ubLIX has joined #racket
jao has joined #racket
jao has quit [Ping timeout: 245 seconds]
<rlavery>
Well, I don't know how idiomatic it is, but I managed to inform the type checker of my intentions. http://pasterack.org/pastes/77237
<lexi-lambda>
rlavery: I think in this case it’s useful to consider what the typechecker is telling you: `read` makes no guarantee what value it will return, so if the input file were to contain a valid s-expression but not a valid piece of state for your application, then things will go wrong.
<lexi-lambda>
So the question you should ask yourself is this one: what *ought* to happen in that case? Do you want to ignore garbage data, or raise an error and halt the program?
orivej has joined #racket
jao has joined #racket
orivej has quit [Ping timeout: 250 seconds]
Fernando-Basso has joined #racket
jao has quit [Ping timeout: 245 seconds]
ZombieChicken has quit [Ping timeout: 256 seconds]
orivej has joined #racket
widp_ has quit [Ping timeout: 245 seconds]
ng0 has joined #racket
tmm88 has joined #racket
soegaard has joined #racket
ng0 has quit [Remote host closed the connection]
ng0 has joined #racket
widp_ has joined #racket
orivej has quit [Ping timeout: 245 seconds]
jao has joined #racket
soegaard has quit [Quit: soegaard]
jao has quit [Ping timeout: 255 seconds]
<evdubs>
does anyone happen to have a generic list-box% implementation that can support 'clickable-headers and sort the contents by their string value?
jao has joined #racket
dddddd has joined #racket
orivej has joined #racket
jao has quit [Ping timeout: 245 seconds]
q9929t has joined #racket
FreeFull has joined #racket
fridim has quit [Ping timeout: 268 seconds]
jao has joined #racket
pierpal has joined #racket
jao has quit [Ping timeout: 255 seconds]
tmm88 has quit [Remote host closed the connection]
acarrico has joined #racket
q9929t has quit [Quit: q9929t]
MrSebo has joined #racket
jao has joined #racket
davidl has joined #racket
jao has quit [Read error: Connection timed out]
ubLIX has quit [Quit: ubLIX]
soegaard has joined #racket
jao has joined #racket
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #racket
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #racket
jao has quit [Ping timeout: 246 seconds]
widp_ has quit [Ping timeout: 246 seconds]
juanfra has joined #racket
jao has joined #racket
jao has quit [Ping timeout: 246 seconds]
<rlavery>
lexi-lambda: thanks! fits my intuition of why my solution worked.
<rlavery>
every time I fight the type checker it's right and i'm wrong, go figure. i'm pretty delighted with how my program behaves now!
<rlavery>
much better than the eval-using proof-of-concept I hacked together using no-check, haha
pierpal has quit [Read error: Connection reset by peer]
widp_ has joined #racket
saemcro has quit [Quit: leaving]
saemcro has joined #racket
endformationage has joined #racket
Fernando-Basso has quit [Remote host closed the connection]
casaca has quit [Quit: leaving]
amz3 has quit [Quit: WeeChat 2.2]
_sfiguser has quit [Ping timeout: 246 seconds]
casaca has joined #racket
jao has joined #racket
amz3 has joined #racket
dddddd has quit [Remote host closed the connection]
ChuckleBerry has joined #racket
dddddd has joined #racket
ChuckleBerry has quit []
MrSebo has quit [Ping timeout: 258 seconds]
ChuckleBerry has joined #racket
ChuckleBerry has quit []
jboy has quit [Remote host closed the connection]
jboy has joined #racket
ubLIX has joined #racket
ym555 has joined #racket
libertyprime has quit [Read error: No route to host]