:: Either a b -> b package:either-unwrap

The fromRight function extracts the element out of a Right and throws an error if its argument take the form Left _.