Functions to verify properties of a Maybe.
Fails if a Maybe is Nothing.
isJust "error" Nothing --> Err ( "error" , []) isJust "error" (Just 42) --> Ok 42 -- It removes the wrapper as well!
Fails if a Maybe is Nothing.