ZVON > References > Haskell reference
| Indexes | >> Syntax << | Prelude | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Name Wild-cards
Description
Related:
Bibliography: Case Expressions and Pattern Matching [ A Gentle Introduction to Haskell ]

Example 1
Program source: 

main = print (aaa 0 3, aaa 5 3, aaa 3 0)

aaa 0 _ = -100
aaa _ 0 =  100
aaa x y =  x*y

Output: (-100,15,100)