Modeling Your View Models as FunctionsAt Grailed we’ve turned to functional programming for inspiration on how to write testable, well-structured view models.#rxswift#dj-mitchell#mvvm#reactive#swift·medium.com·Feb 2, 2019Modeling Your View Models as Functions
Nested Mapping“Free map functions express the nesting nicely: map: ((A) -> B) -> (Signal) -> Signal map: ((A) -> B) -> ([A]) -> [B] Then the nested map is function composition: (map < map): ((A) -> B) -> (Signal#reactive#point-free#swift·mobile.twitter.com·Jan 24, 2019Nested Mapping