Re: [racket-users] Re: ANN: with-cache

2016-11-23 Thread Ben Greenman
By default, only values that can be serialized can be cached. Can you call `(serialize )` on one of these structs? If that is the problem, one fix is to add the `prop:serializable` property to the struct definition.

[racket-users] Re: ANN: with-cache

2016-11-23 Thread Alex Harsanyi
Hi Ben, What types of values can be cached by with-cache? I tried to use it with a data-frame object I use in my application (wanted to check if it is faster to retrieve it from the filesystem than the database), but unfortunately it failed with: ; with-cache: Internal error: failed to make