Open turion opened 2 months ago
As shown in https://hackage.haskell.org/package/selective-0.7.0.1/docs/Control-Selective.html#t:Validation, this type has a natural Selective instance which is compatible with the Applicative instance and can be used instead of bindValidation in many places. Maybe it would be a good idea to implement this instance here, incurring a new (but lightweight) dependency.
Selective
Applicative
bindValidation
As shown in https://hackage.haskell.org/package/selective-0.7.0.1/docs/Control-Selective.html#t:Validation, this type has a natural
Selective
instance which is compatible with theApplicative
instance and can be used instead ofbindValidation
in many places. Maybe it would be a good idea to implement this instance here, incurring a new (but lightweight) dependency.