Converted Maybe.error_to_nothing to be a strict function

Use partial application if a function is needed