You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to access the same facilities Sanctuary uses to define instances for types like Array, StrMap, etc. to define instances for even more "unwrapped" values, with type membership dictated by user-specifiable predicates.
I think this might eventually boil down to the same feature as "implement static land support", but there might be other ways to accomplish this.
The text was updated successfully, but these errors were encountered:
I'll put a longer response here when I have a bit of time, but unfortunately the answer so far is that I don't actually know. I've been reading a lot about various implementations of typeclass-ish things that allow for implementations to be grafted onto existing data, but there's various tradeoffs, and most of them seem to rely on information that isn't easy to obtain without static analysis.
It would be nice to be able to access the same facilities Sanctuary uses to define instances for types like
Array
,StrMap
, etc. to define instances for even more "unwrapped" values, with type membership dictated by user-specifiable predicates.I think this might eventually boil down to the same feature as "implement static land support", but there might be other ways to accomplish this.
The text was updated successfully, but these errors were encountered: