Can someone with better knowledge help me understand how Scalaz <**>
and co.
works ? I'm new to Scalaz and little bit lost in exploring.
What I want to do is accumulate errors within List something like (v0 <**> v1) foldLeft(l: List[Validation[A,B]) (_ :: _ :: l)
为了解决我的问题,我发现liftFailNel有帮助( https://github.com/scalaz/scalaz/blob/master/example/src/main/scala/scalaz/example/ExampleValidation.scala )但我仍然没有掌握所有问题这里发生的魔力。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.