3 ms·
"Are you saying the video predates the IO monad? I don't think that's true." No, I'm not saying that. Listen to the video... (3:34): Nevertheless, we put up w
by ZenoArrow 12y ago
"Are you saying the video predates the IO monad? I don't think that's true."
No, I'm not saying that. Listen to the video...
(3:34): Nevertheless, we put up with that embarrasment for many years until we figured out how to combine, in a single language, a single programming (...), we can combine effectful computations with effect-free ones, without making them pollute each other, right. The type system keeps them apart.
(...) Can't quite make out this word, "methodology" perhaps?
In any case, as you can hopefully see from reading that quote, SPJ is talking about the situation with Haskell in the past. Until they worked out how to do effectful computation in a pure functional language Haskell was basically useless, after they worked it out then Haskell was not useless. Do you understand what SPJ was saying now?
- theoh 12y agoHe is not saying that Haskell moved from the category of "Useless" to "Useful" (the spot on his diagram marked "Nirvana"), he is saying they are moving in that direction... But in any case that's not my point. I am arguing that Haskell was never useless in the first place. (You seem to be ignoring the substance of my comments, so continuing this thread is probably a waste of our time.)
- ZenoArrow 12y ago" I am arguing that Haskell was never useless in the first place." Okay, let's get break this down. The Haskell project was started in 1987. Version 1.0 of Haskell was released in 1990. Version 1.0 had no monads (they didn't come until version 1.3). If you had to code something that was both pure functional and useful in version 1.0, could you do it? "he is saying they are moving in that direction..." Yes, of course, because "useful" is a relative term. It's a goal, but the work on making a language more "useful" is never complete. The sketch is not important here, it's just a simple sketch, listen to SPJ's words.