Chapter 3. Some everyday widget stuff
This chapter covers
- Some simple GUI widget examples
We’re using this short chapter to cement the concepts of FRP with two more simple SWidget examples. We’re continuing to avoid telling you about StreamSink and CellSink for now so we can achieve a clear separation in your mind between FRP and non-FRP. We’ve talked about how people tend to gravitate toward familiar concepts—we don’t want you saying, “I know how to do this” and mixing sinks into your FRP logic, because this breaks the model. We want you to see what becomes possible when you view streams and cells only as sources.
These examples use the same primitives introduced in chapter 2, so you may need to refer back to it to refresh your memory. ...
Get Functional Reactive Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.