klf has quit [Quit: This computer has gone to sleep]
klf has joined #racket
mon_aaraj has quit [Quit: WeeChat 3.4]
s-liao has joined #racket
mon_aaraj has joined #racket
s-liao46 has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
winny has quit [Remote host closed the connection]
winny has joined #racket
s-liao46 has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
<winny>
There is a `main` function that can be loaded in certain cases, but you really do want the `(module+ main ...)` thing you'll see online
s-liao has joined #racket
klf has quit [Quit: Leaving]
skapata has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
s-liao has quit [Ping timeout: 256 seconds]
s-liao has joined #racket
Fare has quit [Ping timeout: 256 seconds]
s-liao has quit [Ping timeout: 256 seconds]
s-liao has joined #racket
mon_aaraj has quit [Ping timeout: 256 seconds]
mon_aaraj has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
notzmv has quit [Ping timeout: 260 seconds]
mdhughes has quit [Remote host closed the connection]
mdhughes has joined #racket
Fare has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
cynomys has joined #racket
Fare has quit [Ping timeout: 240 seconds]
mon_aaraj has quit [Ping timeout: 256 seconds]
mon_aaraj has joined #racket
Fare has joined #racket
ur5us has joined #racket
Fare has quit [Quit: Leaving]
Algernon69 has joined #racket
notzmv has joined #racket
Algernon91 has joined #racket
Algernon69 has quit [Ping timeout: 256 seconds]
tgbugs has quit [Ping timeout: 250 seconds]
ur5us has quit [Ping timeout: 240 seconds]
tgbugs has joined #racket
terrorjack5 has joined #racket
Avichi has joined #racket
terrorjack has quit [Ping timeout: 268 seconds]
chris2 has quit [Ping timeout: 268 seconds]
krono has quit [Ping timeout: 268 seconds]
terrorjack5 is now known as terrorjack
vraid_ has joined #racket
krono has joined #racket
vraid has quit [Ping timeout: 256 seconds]
chris2 has joined #racket
s-liao has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
vraid_ is now known as vraid
ski has quit [Ping timeout: 250 seconds]
conjunctive has quit [Ping timeout: 260 seconds]
ski has joined #racket
conjunctive has joined #racket
capfredf has joined #racket
notzmv has quit [Ping timeout: 250 seconds]
b625e17 has quit [Ping timeout: 245 seconds]
capfredf has quit [Ping timeout: 256 seconds]
b625e17 has joined #racket
cynomys has quit [Ping timeout: 256 seconds]
Codaraxis__ has quit [Read error: Connection reset by peer]
ermo has quit [Read error: Connection reset by peer]
Codaraxis has joined #racket
Codaraxis has quit [Read error: Connection reset by peer]
Codaraxis has joined #racket
ermo has joined #racket
s-liao has joined #racket
s-liao has quit [Client Quit]
Codaraxis_ has joined #racket
Codaraxis has quit [Ping timeout: 256 seconds]
mon_aaraj has quit [Ping timeout: 256 seconds]
Avichi has quit [Ping timeout: 256 seconds]
mon_aaraj has joined #racket
libertyprime has joined #racket
mon_aaraj has quit [Ping timeout: 256 seconds]
mon_aaraj has joined #racket
cynomys has joined #racket
cynomys has quit [Client Quit]
Algernon91 has quit [Ping timeout: 245 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 268 seconds]
mon_aaraj has quit [Ping timeout: 256 seconds]
mon_aaraj has joined #racket
libertyprime has quit [Quit: leaving]
notzmv has joined #racket
capfredf has joined #racket
mon_aaraj has quit [Ping timeout: 256 seconds]
capfredf has quit [Ping timeout: 256 seconds]
Algernon91 has joined #racket
capfredf has joined #racket
s-liao has joined #racket
s-liao has quit [Client Quit]
s-liao has joined #racket
s-liao has quit [Client Quit]
Avichi has joined #racket
klf has joined #racket
Avichi has quit [Ping timeout: 256 seconds]
<klf>
(for ([id sequence-expr] ...)
<klf>
body ...+)
<klf>
(for ([i 3])
<klf>
(display i))
<klf>
why is 3 a sequence-expr ?
<vraid>
shorthand for (range 3) maybe?
<bremner>
rudybot_: (sequence? 3)
<bremner>
rudybot_: init racket
<rudybot_>
bremner: error: with-limit: out of time
<rudybot_>
bremner: your sandbox is ready
<bremner>
rudybot_: (sequence? 3)
<rudybot_>
bremner: ; Value: #t
<bremner>
klf: ^
<bremner>
you can follow the docs to the actual contract there
<bremner>
"An exact number k that is a non-negative integer acts as a sequence similar to (in-range k), except that k by itself is not a stream."
<klf>
rudybot_ is one lazy mf... (i guess it's still early)
<klf>
What does the '+' in '...+' mean?
<klf>
'...' alone denotes that there can be zero or more of the preceding pattern
<bremner>
without checking, one or more
<klf>
👍
<klf>
rudybot_, '"hello world"
<rudybot_>
klf: your sandbox is ready
<rudybot_>
klf: ; Value: "hello world"
<klf>
rudybot_, (string->symbol "hello world")
<rudybot_>
klf: ; Value: '|hello world|
<klf>
Why don't I get an interned symobol in the first attempt?
<klf>
rudybot_,'hello\ world' ; I get it here
<klf>
rudybot_,'hello\ world ; I get it here
<rudybot_>
klf: does anyone here run Emacs25 in OSX and use the GDB debugger? I installed Emacs 25.0.50 and GDB 7.8.1 through Homebrew, so fairly vanilla setup. Yet I seem to have a bug where any process (even a simple hello world program) run through m-x gdb hangs up Emacs (100% CPU infinitely) after finishing. gud-gdb works fine.