I would do:
(with-input-from-string from-db
(λ () (deserialize (read))))
On Tue, Mar 21, 2017 at 4:48 PM Jon Zeppieri <zeppi...@gmail.com> wrote:

> On Tue, Mar 21, 2017 at 5:44 PM, Jon Zeppieri <zeppi...@gmail.com> wrote:
> > However, postgres (if that's what you're using)
> > has multidimensional arrays as a native type, so you could use those
> > [https://www.postgresql.org/docs/current/static/arrays.html]. The
> > Racket db package has a `pg-array` struct with conversion to/from
> > lists to help you.
> >
>
> Ah, except apparently `pg-array` only supports arrays with dimension
> 1. So... that won't help.
>
> --
> 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 racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to