Panicz Maciej Godek <godek.mac...@gmail.com> writes: > > So perhaps you could tell me how to design a GUI framework in FP and > without OOP. To me it seems that GUI is the main domain the OOP was > crafted for, but if you have some nice functional ideas, perhaps you > could help me to redesign my framework. >
Are you familiar with functional reactive programming? http://elm-lang.org/learn/What-is-FRP.elm Using FRP, we can model with mutable state in a pure, functional way. That is, the necessary mutation is hidden behind the runtime of the FRP implementation. Just some food for thought. -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate