https://GitHub.com/samsquire/additive-guis
The idea is you define how the GUI should appear by describing it. The GUI changes in real time based on what you describe.
And I also designed a GUI primitive I called GUI thunking, inspired by Haskell. The idea is you can chain together behaviour on a GUI by interacting with the future directly.