This language bar is your friend. Select your favorite languages!
Edit summary for version 9 :

Version 8

Version 9

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Code
f x = print x :: IO ()
Comments bubble
actually returns the side effecting action as reusable value