StackOverflow 文件 Elm Language 教程 模式匹配 單一型別解構論證 單一型別解構論證 Created: November-22, 2018 type ProjectIdType = ProjectId String getProject : ProjectIdType -> Cmd Msg getProject (ProjectId id) = Http.get <| "/projects/" ++ id 函式引數模式匹配