local

fun <E, A> Program<A>.local(transform: (E) -> E): Program<A>(source)

Run this sub-program with the environment transformed; the override ends with it.