PurpleKingdomGames / tyrian

Elm-inspired Scala UI library.
https://tyrian.indigoengine.io/
MIT License
350 stars 26 forks source link

Sub - Observe: remove the F wrapper for observable. #217

Closed diesalbla closed 1 year ago

diesalbla commented 1 year ago

The observable field is a task F that produces a function. However, since the mutable logic is in the function body, and not in creating the function literal, there is no need to keep that wrapper F around.