-- >>> fromMaybe 0 Nothing
    --0
    -- >>> fromMaybe 0 (Just 1)
    --1
    fromMaybe :: a -> Maybe a -> a
    fromMaybe def Nothing = def
fromMaybe :: a -> Maybe a -> a
fromMaybe def Nothing = def
fromMaybe def Nothing = def