I am new to Haskell and I'm wondering if there's a way to output 'debug' lines within a function in Haskell? I.E. I want to debug what values are being inputted into a function
My current code is
import Prelude
foo(a,b,c)
print("input a : " ++ a)
= a + b + c
main = print(foo(1, 2, 3))
I have experience with programming, but this is my first time going near functional programming, so any help will be appreciated.