A general library for higher-kinded data #124
Replies: 3 comments 1 reply
-
Maybe! Though I will note I think those libraries maybe already exist. In this space, we have:
and there may be others. So I think we'd have to be confident that we have something substantially different. There's a good chance that if https://ghc-proposals.readthedocs.io/en/latest/proposals/0242-unsaturated-type-families.html makes it into GHC proper, we can drop a lot of what we've had to invent in Rel8 and just use |
Beta Was this translation helpful? Give feedback.
-
(@chris-martin I moved this to a discussion - hope that's OK!) |
Beta Was this translation helpful? Give feedback.
-
The main things I really like about
By the way, I'd found |
Beta Was this translation helpful? Give feedback.
-
Rel8 defines the term "higher-kinded data" as:
Aside from the specific detail of the
Column
type family, this notion seems very general! Do y'all think there's any potential for a library that would help others replicate the pattern for other applications? (For example, I have in mind a similar sort of approach to filesystem storage, with database rows and fields corresponding to directories and files.)Beta Was this translation helpful? Give feedback.
All reactions