4 ms·
Are we talking about even roughly the same concept of functional purity [1]? Nothing is stopping a pure function from representing EOF as -1. Implementing IO i
by nixpulvis 7y ago
Are we talking about even roughly the same concept of functional purity [1]? Nothing is stopping a pure function from representing EOF as -1.
Implementing IO in a "pure" way, is however another discussion.
[1]: https://en.wikipedia.org/wiki/Pure_function https://en.wikipedia.org/wiki/Pure_function
- eyegor 7y agoMostly, do you know of a single procedural language with a concept of IO monads in its stdlibs?