App.next: def of Base Import: import Base Lines 3139-3146 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=3139&end_line=3146 import Base def App.next( -S: Type, window: Window, rest: Window -> S -> IO(Unit), next: Maybe ) -> IO(Unit): match next: case None{}: Window.close(window) case Some{state}: rest(window, state) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Window https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Window.close