sam
06/17/2019, 10:16 PM"myerror".left() and "myerror".raiseError() ?raulraja
06/17/2019, 10:49 PMleft is an specific constructor for Either but raiseError is the generic constructor for ApplicativeError. Either provides an instance for Applicative Error so it has both.
Any type that provides ApplicativeError such as Either, IO, Validated etc, they also have raiseError in addition to their specific constructors.sam
06/17/2019, 10:50 PM