I have an object of type Either String (Either String Int). I would like to collapse it to an object of type Either String Int.
Is there a provided function for this in PureScript?
I have an object of type Either String (Either String Int). I would like to collapse it to an object of type Either String Int.
Is there a provided function for this in PureScript?
It is the same as Haskell: