apply a closure

See: complete