Skip to main content

10 docs tagged with "Haskell"

View all tags

Pattern Matching

当函数拥有多个函数体(模式)时,会从上至下进行匹配各模式,一旦匹配则只应用这一函数体.