StackOverflow 文档 Elm Language 教程 模式匹配 单一类型解构论证 单一类型解构论证 Created: November-22, 2018 type ProjectIdType = ProjectId String getProject : ProjectIdType -> Cmd Msg getProject (ProjectId id) = Http.get <| "/projects/" ++ id 函数参数模式匹配