RosettaCodeData/Task/Zero-to-the-zero-power/Haskell/zero-to-the-zero-power.hs
2015-02-20 09:02:09 -05:00

9 lines
153 B
Haskell

import Data.Complex
main = do
print $ 0 ^ 0
print $ 0.0 ^ 0
print $ 0 ^^ 0
print $ 0 ** 0
print $ (0 :+ 0) ^ 0
print $ (0 :+ 0) ** (0 :+ 0)