Strict, 52 bytes
import GHC.IO
f _=print()
main=f$unsafePerformIO$f()
With -XStrict
, prints ()
an extra time.
Thanks to @Sriotchilism O'Zaic for two bytes.
import GHC.IO
f _=print()
main=f$unsafePerformIO$f()
With -XStrict
, prints ()
an extra time.
Thanks to @Sriotchilism O'Zaic for two bytes.