I want to debug my program by typing something
For example,
isPos n | n<0 = False | otherwise = True
I need something like:
isPos n | n<0 = False AND print ("negative") | otherwise = True AND print ("positive")
Can this be done in Haskell?
debugging haskell
Jdl wahaha
source share