Jose Morais jjoao at netcabo.pt
Mon Oct 13 18:54:30 EDT 2003


	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

More information about the Haskell-Cafe mailing list