Zero to the zero power: Difference between revisions
m
→{{header|Haskell}}: Tidied, updated output.
Jazzedpineda (talk | contribs) (Added Golfscript implementation) |
m (→{{header|Haskell}}: Tidied, updated output.) |
||
Line 661:
=={{header|Haskell}}==
<syntaxhighlight lang="haskell">import Data.Complex ( Complex((:+)) )
main
main = mapM_ print
(0 :+ 0) ** (0 :+ 0)
]</syntaxhighlight>
{{out}}
<pre>1
1.0
1.0
1.0
1.0 :+ 0.0
=={{header|HolyC}}==
|