Refactoring maybe code in Elm Given this ugly series of cases: optionalFormattedFriendAddress : Maybe Friend -> Maybe String optionalFormattedFriendAddress maybeFriend = let maybeAddress = case maybeFriend of Just friend -> Just friend.address