Maybe try `struct->vector`, which works on any value iirc (from mobile,
can't test)

On Mon, Aug 3, 2020, 15:19 Hendrik Boom <[email protected]> wrote:

> In plain, untyped Racket:
>
> It is possible to ask if a value is a symbol with symbol?
> It is possible to ask if a value is a string with string?
> etc.
>
> Is there a way to ask the type of a value without having to guess it first?
>
> -- hendrik
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/20200803141931.t4v4nc2e5d4afx6f%40topoi.pooq.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaEcetXOrk77n1RdFKDteQm_sp-8w8VN7qB54qpi-jMs5A%40mail.gmail.com.

Reply via email to