Idea

How IO values are built, run and analyzed

When a call performs its effect the moment it runs, the only way to list what a program can do is to trace every path through it. In Yichus’s Bosatsu programs an effect is a value, IO[A], that runs only when the runtime interprets it, so the tools can list every effect from the compiled program.

Credit: effects as values is the IO monad lineage of Moggi and Wadler, used in Haskell, Elm and Haxl. Yichus reads those values statically to find every effect a program can perform.

Code & run Inspect and run the IO illustration

Generated IO Lifecycle Illustration

Ask your agent about anything here; it has the detail.

Where this fits