Haskell type declaration problem with isSquareNumber function

后端 未结 0 1821
花落未央
花落未央 2021-01-16 22:01

I have to write a function that determines if a number is a perfect square, which I was able to do:

isSquareNumber x
    | x < 0 = False
    | otherwise =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题