Using Maybe type in Haskell June 6, 2023 by Tarik Alternatively you can pattern match: case maybeValue of Just value -> ... Nothing -> ...