Be sure to indent the guards; Haskell has significant whitespace.
pow1 b e
| (e == 0) = 1
| otherwise = b * pow1 b (e-1)
Be sure to indent the guards; Haskell has significant whitespace.
pow1 b e
| (e == 0) = 1
| otherwise = b * pow1 b (e-1)