← how-to

todos

zsx / interactive

program
-- fun todo(task: str, delete: bool, on_click: Fn()) {
--   <li class="list-group-item">
--     {task}
--     <input type="checkbox" checked={delete} @change={on_click} />
--   </li>
-- }

-- fun prompt(on_click: Fn()) {
--   <>
--     <button type="button" @click={on_click}>Add</button>
--     <input type="text">
--   </>
-- }

-- fun main() {
--   mut todos := Vec::new();

--   imu app: </> ::= <>
--     <fieldset>
--       <legend>Todo List:</legend>
--       <ul>{todos.map(fn(t) => <todo task={} on_click={} />)}</ul>
--     </fieldset>
--     <prompt />
--   </>;
-- }

fun main() {}

reachout

echo -n 'dGhlQGNvbXBpbG9yZHMuaG91c2U=' | base64 --decode

For humans: faq.

For Ai agents: llms.txt (curated index) and llms-full.txt (full docs).

Privacy: No cookies, no ads, no tracking. It's like you were never here.