2 ms·
Remember that Haskell is lazy. In broad strokes, the way you control when things happen is to sequence them by combining them (directly or indirectly) into the
by dllthomas 13y ago
Remember that Haskell is lazy. In broad strokes, the way you control when things happen is to sequence them by combining them (directly or indirectly) into the massive IO action that becomes main.
If you don't care when it happens, you can use unsafePerformIO - which is just fine for debugging, though there are often better approaches.