14

GUI

Over the years, I have used two different GUI frameworks in functional programs. The first is named Quil,1 and it is based upon the popular Java framework named Processing.2 The second is SeeSaw,3 which is based upon the old Java Swing4 framework.

1. www.quil.info

2. https://processing.org

3. https://github.com/clj-commons/seesaw

4. https://en.wikipedia.org/wiki/Swing_(Java)

Quil is “functional,” which makes it fun and easy to use in a “functional” program. SeeSaw is not functional at all. Indeed, it depends very strongly on mutable state that you must continuously update. This makes it a royal pain to use in a functional program. The ...

Get Functional Design: Principles, Patterns, and Practices 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.