GHCi way: set the buffering on stdout to LineBuffering to more correctly match the compiled environment.