3 ms·
A program can be both purely functional, and have side-effects. See Haskell, and in particular, see [1]. [1] Tackling the awkward squad: monadic input/output,
by amelius 12y ago
A program can be both purely functional, and have side-effects. See Haskell, and in particular, see [1].
[1] Tackling the awkward squad: monadic input/output, concurrency, exceptions, and foreign-language calls in Haskell, Simon Peyton Jones, http://research.microsoft.com/en-us/um/people/simonpj/papers/marktoberdorf/ http://research.microsoft.com/en-us/um/people/simonpj/papers...
- seanmcdirmid 12y agoIf an effect is explicit, is it still correct to call it a "side" (implicit) effect?
- dllthomas 12y agoExecution of Haskell has side effects, although they are left unspecified defined by the language. Memory is used, heat is emitted... I agree that explicit effects should not be called "side" effects.