2 ms·
Functional code can represent an imperative program (using temporal logic or state monads), so it can be used for domains where you would use imperative code.
by TuringTest 10y ago
Functional code can represent an imperative program (using temporal logic or state monads), so it can be used for domains where you would use imperative code.
It will not always be easier, but it certainly provides more control over the execution flow.