samth changed the topic of #racket to: Racket v7.8 has been released: https://blog.racket-lang.org/2020/08/racket-v7-8.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
mirrorbird has quit [Ping timeout: 240 seconds]
nan` has joined #racket
vejetaryenvampir has quit [Ping timeout: 256 seconds]
nan` has quit [Ping timeout: 260 seconds]
mirrorbird has joined #racket
phillbush has quit [Remote host closed the connection]
phillbush has joined #racket
TCZ has quit [Quit: Leaving]
phillbush has quit [Quit: Leaving]
DGASAU has quit [Remote host closed the connection]
DGASAU has joined #racket
countvajhula has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 258 seconds]
nan` has joined #racket
countvajhula has quit [Ping timeout: 244 seconds]
nan` has quit [Ping timeout: 260 seconds]
selimcan has quit [Ping timeout: 265 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
MetaHertz has quit [Quit: Leaving]
<dustyweb> uh
<dustyweb> anyone mind try using racket's pict code form
<dustyweb> and evaluate
<dustyweb> > (code ($ foo))
<dustyweb> do you get a $ character or a pipe rendered?
<dustyweb> because I'm seeing a | here...
<dustyweb> huh strange, codeblock-pict seems ifne by contrast
<evdubs> i get a pipe
<evdubs> drracket 7.7
<dustyweb> evdubs: thanks
<dustyweb> me too
<evdubs> (code ($$ foo)) gives me $$
<dustyweb> strange stuff... I'll email the list I guess
* evdubs shrugs
<samth> dustyweb: https://docs.racket-lang.org/pict/More_Pict_Constructors.html?q=code#%28def._%28%28lib._pict%2Fcode..rkt%29._typeset-code%29%29
<samth> dustyweb: to quote: "$ — typesets as a vertical bar (for no particularly good reason)."
<dustyweb> samth: what
<dustyweb> so weird!
<dustyweb> but why though
<dustyweb> for no good reason I guess
<samth> it's hard to typeset a vertical bar
<samth> because it's an escape for symbols
<dustyweb> hm :( I don't suppose there's a way to force-insert a $ then?
<samth> that's not a good reason, but i'm pretty sure it's the reason
<samth> you might be able to escape and ((current-code-tt) "$")
<samth> i think that will work
<dustyweb> yeah it looks like I can do that
<dustyweb> thanks samth
<dustyweb> weird but nice to have a solution at least
nebunez has quit [Ping timeout: 240 seconds]
mirrorbird has quit [Ping timeout: 258 seconds]
nan` has joined #racket
narimiran has joined #racket
caente has quit [Ping timeout: 240 seconds]
orivej has joined #racket
brj has quit [Quit: WeeChat 2.8]
badkins has joined #racket
RW21 has joined #racket
badkins has quit [Ping timeout: 256 seconds]
<RW21> Hello people, can I ask questions here?
<RW21> Why doesn't http://pasterack.org/pastes/15367 this evaluate?
endformationage has quit [Quit: WeeChat 2.9]
<dzoe> RW21: Yes.
<dzoe> RW21: Id does.
<dzoe> *It
<dzoe> The result is #<void>, of course.
<dzoe> See https://docs.racket-lang.org/reference/for.html?q=for#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._for%29%29 and https://docs.racket-lang.org/reference/strings.html?q=string-append#%28def._%28%28quote._~23~25kernel%29._string-append%29%29
<RW21> I think I get it now, I was thinking procedurally with the for loops :( I have to be careful of scopes.
<RW21> Thanks!
bocaneri has joined #racket
diip has joined #racket
Fare has joined #racket
<dzoe> Wow ... [229636.207753] Out of memory: Killed process 254281 (racket) total-vm:11288872kB, anon-rss:10529848kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:20944kB oom_score_adj:0
<dzoe> During raco setup: 2 making: <pkgs>/web-server-lib/web-server
<dzoe> (building latest master)
nan` has quit [Ping timeout: 260 seconds]
sagax has quit [Remote host closed the connection]
vejetaryenvampir has joined #racket
nan` has joined #racket
epony has quit [Ping timeout: 258 seconds]
nan` has quit [Ping timeout: 272 seconds]
sagax has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 260 seconds]
camelCaser has quit [Ping timeout: 260 seconds]
camelCaser has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
diip has quit [Remote host closed the connection]
epony has joined #racket
RW21 has quit [Read error: Connection reset by peer]
Fare has quit [Ping timeout: 244 seconds]
badkins has joined #racket
mirrorbird has joined #racket
badkins has quit [Ping timeout: 272 seconds]
mirrorbird has quit [Quit: Leaving]
nan` has joined #racket
xensky has quit [Quit: No Ping reply in 180 seconds.]
nan` has quit [Ping timeout: 272 seconds]
nullcone has quit [Quit: Connection closed for inactivity]
orivej has joined #racket
orivej has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 260 seconds]
dvdmuckle has quit [Ping timeout: 240 seconds]
<dzoe> And another scribbling question - how to _easily_ include default values in proc-doc/names when these defaults might be platform-dependent (that is - the identifiers are provided by module being scribbled).
phillbush has joined #racket
phillbush has quit [Remote host closed the connection]
phillbush has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
orivej has joined #racket
TCZ has joined #racket
ccamel has joined #racket
camelCaser has quit [Ping timeout: 256 seconds]
dvdmuckle has joined #racket
xensky has joined #racket
nebunez has joined #racket
narimiran has quit [Ping timeout: 272 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
Sgeo has joined #racket
MetaHertz has joined #racket
nan` has joined #racket
nan` has quit [Ping timeout: 256 seconds]
epony has quit [Remote host closed the connection]
badkins has joined #racket
epony has joined #racket
TCZ has quit [Quit: Leaving]
caente has joined #racket
orivej has quit [Ping timeout: 260 seconds]
epony has quit [Remote host closed the connection]
epony has joined #racket
Fare has joined #racket
orivej has joined #racket
vejetaryenvampir has quit [Quit: vejetaryenvampir]
vejetaryenvampir has joined #racket
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
bitmapper has joined #racket
narimiran has joined #racket
aeth has quit [Ping timeout: 240 seconds]
aeth has joined #racket
countvajhula has joined #racket
endformationage has joined #racket
selimcan has joined #racket
dataangel has quit [Read error: Connection reset by peer]
acarrico has quit [Ping timeout: 265 seconds]
FreeFull has joined #racket
nan` has joined #racket
nan` has quit [Ping timeout: 260 seconds]
true-grue has joined #racket
bocaneri has quit [Remote host closed the connection]
<selimcan> oh, racket conf is in one month
countvajhula has quit [Ping timeout: 244 seconds]
aeth_ has joined #racket
aeth has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 272 seconds]
aeth_ is now known as aeth
caente has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
vejetaryenvampir has quit [Ping timeout: 240 seconds]
vejetaryenvampir has joined #racket
caente has joined #racket
nullman has quit [Quit: Lost terminal]
countvajhula has joined #racket
nullman has joined #racket
countvajhula has quit [Read error: Connection reset by peer]
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 272 seconds]
dataangel has joined #racket
vejetaryenvampir has quit [Ping timeout: 258 seconds]
vejetaryenvampir has joined #racket
nebunez has quit [Remote host closed the connection]
nebunez has joined #racket
ohama has quit [Ping timeout: 256 seconds]
narimiran has quit [Quit: leaving]
vejetaryenvampir has quit [Quit: vejetaryenvampir]
aeth has quit [Ping timeout: 256 seconds]
ohama has joined #racket
aeth has joined #racket
vejetaryenvampir has joined #racket
mirrorbird has joined #racket
true-grue has quit [Read error: Connection reset by peer]
selimcan has quit [Remote host closed the connection]
selimcan has joined #racket
countvajhula has joined #racket
Fare has quit [Ping timeout: 244 seconds]
vejetaryenvampir has quit [Quit: vejetaryenvampir]
vejetaryenvampir has joined #racket
countvajhula has quit [Ping timeout: 244 seconds]
FreeFull has quit [Read error: Connection reset by peer]
nan` has joined #racket
nan` has quit [Ping timeout: 260 seconds]
nan` has joined #racket
Fare has joined #racket
nan` has quit [Ping timeout: 260 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
countvajhula has joined #racket
badkins has quit [Ping timeout: 272 seconds]
badkins has joined #racket
<countvajhula> i'm writing `cond` as a macro learning exercise, in terms of `if`, and this is what I've got so far:
<countvajhula> it appears to work, but I'm not sure if it's right
Fare has quit [Ping timeout: 244 seconds]
<countvajhula> in particular the `else` clause - i don't really understand why that works
<countvajhula> it feels like `else` there should be treated as just another named pattern, rather than `else` literally
tilpner has quit [Ping timeout: 258 seconds]
<countvajhula> as an experiment, i tried replacing the else clause pattern with `[(cond [else consequent]) #'(cond [#t consequent])] - this results in an infinite loop
<selimcan> spoiler alert
<selimcan> When you click on forms in DrRacket, there is a thing called 'Open defining file' :D
<countvajhula> if anything jumps out at anyone as to why the original macro (linked) works, and why the second version doesn't, i'm all ears :)
ermo has quit [Ping timeout: 244 seconds]
nan` has joined #racket
vejetaryenvampir has quit [Ping timeout: 272 seconds]
phillbush has quit [Ping timeout: 272 seconds]
nan` has quit [Ping timeout: 272 seconds]
tilpner has joined #racket