tginiotis
03/05/2018, 12:00 PMOption.applicative().map(option1, option2, { (value1, value2) ->
all options present
})
I cannot find how to handle the case when at least one option is missing though.
Can it be done with applicative? Or should another mechanism be used for such a case?tginiotis
03/05/2018, 12:08 PMthanerian
03/05/2018, 12:13 PMtginiotis
03/05/2018, 12:15 PMfold
, but over multiple Options with one error/ifEmpty handling for all of themthanerian
03/05/2018, 12:17 PM