doc: replace function expressions with arrows