Which Monad Transformer to use?

后端 未结 2 1529
南方客
南方客 2021-01-13 17:11

I am trying to write the validate function below so that the validation stops after the first error encountered. The return type of three is different to the ot

2条回答
  •  死守一世寂寞
    2021-01-13 17:59

    There's nothing much to add to Travis' answer (as usual), but in the case you're using this in a Play! application, maybe https://github.com/Kanaka-io/play-monadic-actions can provide some help.

提交回复
热议问题