Re:Rust as a gateway drug to Haskell
by haskellandchill on Wednesday June 14, 2017 @06:16PM
(#14556542)
The statement makes no sense. See FRP for a take on how to handle time-varying behavior.
[ Parent
| on HN ]
Re:Rust as a gateway drug to Haskell
by crimsonalucard on Wednesday June 14, 2017 @11:44PM
(#14557797)
It does make sense. Man of course whenever the functional paradigm switches to IO things change. The functional program needs to have an exception somewhere or nothing gets done. I'm talking about the functional part of functional programming, not how the IO monad is implemented.
Re:Rust as a gateway drug to Haskell
by crimsonalucard on Thursday June 15, 2017 @01:29PM
(#14562428)
Let me make my statement clearer. The FRP loop has a part that is not pure (IO). This is where time enters the picture. FRP is not 100% functional, no functional programming language is... but if you look at the functional part of a functional programming language you will see that it is immutable.