pub fn state(ctx: Context, initial: a, cb: fn( Context, a, fn(a) -> Nil, ) -> #(Context, List(Element))) -> #(Context, List(Element))