Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
belevy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
belevy
5y ago
So you want something like `eitherContramap :: (b -> Either ErrMsg a) -> ValidationRule a -> ValidationRule b` we could define this as follows eitherContramap f rule = ValidationRule $ \b -> either failure (validate
2.
▲
by
belevy
5y ago
Hey, I am one of the authors. To clarify when you ask about multiple concurrent validations I assume you do not mean parallel. In that case I believe the system presented is the concurrent solution. The final paragraph in which we use a `Va