If you want to just write IO, you can just define a function with an IO () value and use it in any other function that resolves to IO (), or call other functions that live in IO *, or any pure functions, etc etc.
There is 5x as much ceremony for simple stuff in C or Java...
AFAIU the Haskell community recognized the issue as common enough to grant the existence of Debug.Trace.