Join Nostr
2025-12-18 14:12:06 UTC

chris martens on Nostr: for ages I’ve had this dumb idea to systematically generate UI widgets for ...

for ages I’ve had this dumb idea to systematically generate UI widgets for constructing strictly positive types. labeled sums turn into dropdown menus for each constructor, records are panels of widgets for each field, finite integer ranges become sliders, strings become text fields. self reference is fine because you only expand the top level of the pattern. does anyone want to help me make this so i can get it out of my head