I want to debug my program by printing something
For example,
isPos n
| n<0 = False
| otherwise = True
I want something like:
isPos n
| n<0 = False AND print ("negative")
| otherwise = True AND print ("positive")
Is it possible to do in Haskell?