Treating pitches simply as integers is useful in many settings,
so let's also define some functions for converting between type{Pitch.T}
values and type{Pitch.Absolute} values (integers):
begin{haskelllisting}