···418418p'#get_x, p'#color;;
419419\end{caml_example}
420420A point and a colored point have incompatible types, since a point has
421421-no method "color". However, the function "get_x" below is a generic
421421+no method "color". However, the function "get_succ_x" below is a generic
422422function applying method "get_x" to any object "p" that has this
423423method (and possibly some others, which are represented by an ellipsis
424424in the type). Thus, it applies to both points and colored points.