system-f / validation

A data-type like Either but with an accumulating Applicative
Other
99 stars 28 forks source link

Add more functions to construct and use AccValidation #21

Closed gwils closed 7 years ago

gwils commented 7 years ago

Add a bunch of functions to build and consume AccValidation.

I'd like feedback on parameter order and names. In particular I'm not happy with the name of transformErrors.

tonymorris commented 7 years ago

Can ensure be generalised to work on more than AccValidation?

gwils commented 7 years ago

@tonymorris It can. See the new commits.