purescript-codec
purescript-codec copied to clipboard
refactor: type arguments -> make more meaningful
I'm probably not going to merge this, I don't think naming type variables in very abstract types is useful - even with the names I'd still need to figure it out interactively using holes and such, and as you found, some of the vars don't even have sensible names, or their meaning changes depending on use case.
Mostly these types will be interacted with in a context where the vars are mostly concrete anyway, such as JsonCodec, JPropCodec, etc.
as you found, some of the vars don't even have sensible names
Only in compose methods
Maybe names are not right, but they give at least some context. I dont know how else to resolve this problem.