pattern matching

potenz :: Double -> Int -> Double 
potenz x 0 = 1 
potenz x n = x * (potenz x (n - 1)) 
(potenz 2 0) == 1 -- Fall 1 
(potenz 2 1) == 2 * (potenz 2 (1 – 1)) -- Fall 2 
potenz x n = x * (potenz x (n - 1)) 
potenz x 0 = 1 -- Dieser Fall wird überschattet!