On Tue, 06 Oct 2015 05:51:50 -0500, Paolo Giarrusso wrote: > > On Monday, October 5, 2015 at 10:55:07 PM UTC+2, Vincent St-Amour wrote: > > I'm not aware of a complete querying solution, but here are a few > > pointers that may be useful. > > > > - If you store your data as lists, you can go a long way with standard > > list combinators, such as `map`, `filter` and `fold`. `group-by` (from > > `racket/list` if you're running from git head, or `unstable/list` if > > you're running a release version) is directly inspired by SQL, and I > > find it very useful when querying collections. > > Is there similar support for hashes? That'd be really convenient and fast... > I guess these days you'd call it an in-memory NoSQL database?
The hash API is not as complete as the list API, but since both are sequences, the sequence API (including the `for` comprehensions) work on both. Vincent -- 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.