Hi,

        I am trying to something like

f1 :: Int -> Int
f1 x = f2 x

f2 :: Int -> Int
f2 x = 2 * x


        but before f2 returns its result I'd like it to print something like
"The initial value is " ++ show x.

        How could I do this?


        Thank you

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to