samth changed the topic of #racket to: Racket v7.3 has been released: https://blog.racket-lang.org/2019/05/racket-v7-3.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
johnjay has quit [Read error: Connection reset by peer]
efm has quit [Quit: Konversation terminated!]
efm has joined #racket
dpg has joined #racket
dpg has left #racket [#racket]
ng0 has joined #racket
libertyprime has joined #racket
dharog has joined #racket
johnjay has joined #racket
ng0 has quit [Quit: Alexa, when is the end of world?]
CodeArtisan has quit [Quit: Connection closed for inactivity]
ym555_ is now known as ym555
iyzsong has joined #racket
Sgeo__ has joined #racket
ym555_ has joined #racket
Sgeo_ has quit [Ping timeout: 244 seconds]
ym555 has quit [Ping timeout: 245 seconds]
Sgeo has joined #racket
Sgeo__ has quit [Ping timeout: 245 seconds]
badkins has quit [Remote host closed the connection]
keep_learning_M has joined #racket
dharog has quit [Ping timeout: 244 seconds]
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 272 seconds]
YuGiOhJCJ has quit [Ping timeout: 260 seconds]
sauvin has joined #racket
YuGiOhJCJ has joined #racket
libertyprime has quit [Ping timeout: 268 seconds]
libertyprime has joined #racket
dddddd has quit [Remote host closed the connection]
Arcaelyx has joined #racket
johnjay has quit [Ping timeout: 268 seconds]
ubLIX has quit [Quit: ubLIX]
ym555_ is now known as ym555
_whitelogger has joined #racket
<danderson> So, this may be a sign that I need to go and have a word with myself... But I'm trying to define a macro that defines another macro (think define-struct, but where the constructor that gets output needs to also be a macro), and I'm struggling to wrap my brain around how to do the nested syntax-parse.
<danderson> Anyone have pointers to code that does this, or other suggested reading? Or "please stop", I suppose :)
<danderson> This is what I'm trying to get at - my current macro, which doesn't compile, and its intended use: https://pastebin.com/V1nqXFLF
jao has quit [Ping timeout: 248 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 272 seconds]
<spacedbat> when I call a servlet handler from the repl, I get back a #<response> and struct-info tells me that its not a struct
<spacedbat> is there any other way to inspect an arbitrary value in racket?
<spacedbat> I mean like show any nested objects related things like accessors
<spacedbat> perhaps I've been spoiled by common lisp - I know the tao of racket is different, trying to get the hang of it
johnjay has joined #racket
johnjay has quit [Ping timeout: 248 seconds]
keep_learning_M has quit [Quit: This computer has gone to sleep]
orivej has joined #racket
johnjay has joined #racket
johnjay has quit [Ping timeout: 272 seconds]
johnjay has joined #racket
johnjay has quit [Excess Flood]
johnjay has joined #racket
johnjay has quit [Read error: Connection reset by peer]
johnjay has joined #racket
keep_learning_M has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
johnjay has quit [Excess Flood]
orivej has quit [Read error: Connection reset by peer]
orivej has joined #racket
_whitelogger has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
johnjay has joined #racket
_whitelogger has joined #racket
_whitelogger has joined #racket
lavaflow has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 248 seconds]
soegaard has joined #racket
dddddd has joined #racket
Sgeo has joined #racket
Sgeo__ has quit [Ping timeout: 246 seconds]
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 245 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 268 seconds]
ZombieChicken has quit [Quit: WeeChat 2.5]
Fernando-Basso has joined #racket
ubLIX has joined #racket
orivej has joined #racket
soegaard has quit [Quit: soegaard]
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #racket
jao has joined #racket
ShalokShalom has joined #racket
YuGiOhJCJ has joined #racket
ShalokShalom has quit [Remote host closed the connection]
Sgeo__ has quit [Ping timeout: 248 seconds]
ubLIX has quit [Quit: ubLIX]
dharog has joined #racket
<dzoe> spacedbat: sounds familiar, I ended up doing some define-for-syntax helpers and in the define-syntax just dispatched everything to those
<dzoe> spacedbat: to be honest, for some cases it was necessary to manipulate the syntax objects directly without the help of syntax-parse.
<spacedbat> ok, I'm vaguely aware that racket's macrology involves a rich AST
<spacedbat> the the servlet #<response> a syntax object?
<dzoe> Anyway, you are deep in syntax #' and use #' again I do not think that can be valid
<dzoe> I am pretty sure, you will need to unsyntax/unsyntax-splicing the base-defs part - but that is definitely not the whole problem there.
<spacedbat> I think you may be answering danderson
* dzoe sighs
<dzoe> danderson: ^^^
<dzoe> spacedbat: sorry :D
<spacedbat> no problems
<dzoe> 310K outside
<spacedbat> I know its serious, but here in australia those sorts of temperatures are an every summer sort of thing
<dzoe> spacedbat: are you using the sendrecv from the net http library?
<spacedbat> I'm just using the servlet library that ships with racket
<dzoe> Yeah, I remember stepping outta the plane up north in my suit :)
<dzoe> But if I move from Europe, Darwin is my place to go ...
<spacedbat> I'm down south and its hot enough, with occasional relief from courtesy of the southern ocean
<dzoe> spacedbat: are you using serve/servlet?
<spacedbat> yes
<dzoe> And response/full | response/xexpr?
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<spacedbat> but in general, I get back an unprintable object, and its not a struct apparently - is it truly opaque if it doesn't provide some introspection itself?
<dzoe> Ah, got it - but why would you want to investigate that?
<spacedbat> to explore
<dzoe> https://docs.racket-lang.org/web-server/http.html?q=response%2Fxexpr#%28def._%28%28lib._web-server%2Fhttp%2Fresponse-structs..rkt%29._response~3f%29%29
<spacedbat> that's what I figure repls are best at
<spacedbat> so, the advice is to go to the docs and/or jump to the definition
<dzoe> For web-server/... definitely.
<spacedbat> I'm used to slime with CL and jumping around in the inspector
<spacedbat> looking inside things
<dzoe> DrRacket might have something similar, but I am used to just write the code in emacs and run it separately.
<spacedbat> but I know racket has its own sweet spot in language definition
<spacedbat> yup
<dzoe> And the good thing about Racket documentation is that it actually contains correct information.
<spacedbat> thakns dzoe
<spacedbat> :)
<dzoe> You're welcome :)
<spacedbat> time I went to bed, its late
<spacedbat> bye
<dzoe> Give my regards Down Under :)
<spacedbat> too right mate
iyzsong has quit [Read error: Connection reset by peer]
endformationage has joined #racket
dharog has quit [Ping timeout: 258 seconds]
dharog has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
vraid has joined #racket
FreeFull has quit []
Arcaelyx has quit [Read error: Connection reset by peer]
Arcaelyx has joined #racket
Arcaelyx has quit [Read error: Connection reset by peer]
ubLIX has joined #racket
Arcaelyx has joined #racket
Arcaelyx has quit [Read error: Connection reset by peer]
ziyourenxiang has quit [Ping timeout: 245 seconds]
Arcaelyx_ has joined #racket
aeth has quit [Ping timeout: 248 seconds]
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #racket
lavaflow has joined #racket
rubic88 has joined #racket
badkins has joined #racket
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
aeth has joined #racket
dharog has quit [Ping timeout: 248 seconds]
selimcan has joined #racket
jao has quit [Ping timeout: 245 seconds]
ym555_ has joined #racket
ym555 has quit [Ping timeout: 245 seconds]
nullman has quit [Ping timeout: 248 seconds]
casaca has quit [Ping timeout: 245 seconds]
rain1 has quit [Read error: Connection reset by peer]
rain1 has joined #racket
casaca has joined #racket
DGASAU has joined #racket
Sgeo has joined #racket
ym555_ has quit [Ping timeout: 258 seconds]
ym555 has joined #racket
dharog has joined #racket
ym555 has quit [Quit: leaving...]
<danderson> hmm, where would I report bugs for the `yaml` module? I appear to have discovered an expression that makes it crash while emitting.
jao has joined #racket
selimcan has quit [Ping timeout: 258 seconds]
ubLIX has quit [Quit: ubLIX]
mSSM has joined #racket
dustyweb has quit [Ping timeout: 250 seconds]
jao has quit [Remote host closed the connection]
ZombieChicken has joined #racket
jao has joined #racket
jao is now known as Guest27582
dustyweb has joined #racket
Guest27582 is now known as jao
jao has quit [Remote host closed the connection]
casaca has quit [Ping timeout: 246 seconds]
jao has joined #racket
johnjay has quit [Ping timeout: 246 seconds]
johnjay has joined #racket
endformationage has quit [Quit: WeeChat 2.5]
selimcan has joined #racket
mSSM has quit [Ping timeout: 258 seconds]
endformationage has joined #racket
Fernando-Basso has quit [Remote host closed the connection]
_whitelogger has joined #racket
keep_learning_M has joined #racket