jamii
08/09/2022, 7:14 PMdefs
remembers where it came from and can be directly edited. This will mean that eg in the todo example, the text will be directly editable wherever it appears rather than having to add an explicit set-text action.Konrad Hinsen
08/10/2022, 12:44 PMjamii
08/10/2022, 11:17 PM(put! old new)
function returns an 'action' which, if executed, will replace the origin path of old
with the value new
.
https://github.com/jamii/preimp/blob/078d30f9a290ae13b4a273eb3644218fd9e0e17a/test/end_to_end.test#L494-L543
So now I need to compile this all to wasm and hook it up to some ui which renders data structures and functions like the old demo, and renders actions as buttons.Garth Goldwater
09/03/2022, 6:30 PM