complet.spad line 199 [edit on github]
Lifting of maps to one-point completions. Date Created: 4 Oct 1989
map(f, r) lifts f and applies it to r, assuming that f(infinity) = infinity.
map(f, r, i) lifts f and applies it to r, assuming that f(infinity) = i.