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
<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?