Conversation

This Tweet was deleted by the Tweet author. Learn more
💭 Bool → checkbox enum w/ ≤ 4 constructors → radio buttons enum w > 4 constructors → pop-up menu String → text field Int/Float → text field with formatter, steppers product → vertically laid out sum → tabs recursive → list view
3
5
Yeah, one thing that is tricky is that you can have multiple representations for this stuff, so you might want to use a non-canonical module system for it. And switching between views can be handy for different stuff.
2
1
In CLIM, you present a value by implementing a method specialized on the type of the value. I guess you could think of it as a type class or a Rust trait. Even better if you specialize on type of value and type of output target.
1
1
Show replies