Re: [racket-users] ask the type of a value (partial solution)

2020-08-03 Thread Alexis King
> On Aug 3, 2020, at 11:48, Hendrik Boom wrote: > > Still, it would be nice to find out how to get this information more > directly instead of relying on functions that do much more than > what I was asking for. In general, there aren’t any. The ability of struct->vector to extract a

Re: [racket-users] ask the type of a value (partial solution)

2020-08-03 Thread Hendrik Boom
On Mon, Aug 03, 2020 at 05:06:51PM +0100, Laurent wrote: > and yet: > > > (for-each >(λ (x) (printf "~a: ~a\n" (~v x #:min-width 28) (struct->vector x))) >`(hello "hello" 43110 #f #(h e l l o) #"hello" (h e l l o) >,(new frame% [label ""]))) > > hello :