-- >>> listToMaybe [1, 2, 3]
    -- Just 1
    -- >>> listToMaybe []
    -- Nothing
    listToMaybe :: [a] -> Maybe a
    listToMaybe [] = Nothing
listToMaybe :: [a] -> Maybe a
listToMaybe [] = Nothing
listToMaybe [] = Nothing