Re:The Cult of the Haskell Programmer
by simonmic on Tuesday May 14, 2024 @04:42AM
(#40352924)
Haskellers think I/O is an important effect and want to manage when it's allowed. It's allowed in the IO context, which happens to be the default:
If you want to, you can break the rule and do I/O from non-IO functions, by using trace:
or unsafePerformIO:
Not exactly white-hot hoops of fire ? :)
[ Parent
| on HN ]
There are no comments on this comment yet.