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.
http://docs.racket-lang.org/reference/serialization.html?q=prop%3Aserializable
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 w
2 matches
Mail list logo