pattern.spad line 434 [edit on github]
Lifts maps to patterns.
map(f, p) applies f to all the leaves of p and returns the result as a pattern over S.
map(f, p)
f
p
S