App.draw: def of Base Import: import Base Lines 3158-3165 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=3158&end_line=3165 import Base def App.draw( -S: Type, window: Window, drawn: S & Image, tick: List -> S -> IO(Maybe), rest: Window -> S -> IO(Unit) ) -> IO(Unit): (state, image) = drawn do IO: shown : Window & Image & List <- Window.frame(window, image) App.turn(S, shown, tick, state, rest) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=App.turn https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Event https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Image https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma 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.frame