Generalized max function (snippets, 6c31925)
Based on understandings gained in Exercise 1.15, add a new "max''" function that works for any type in the Ord class, not just for Int types.
Signed-off-by: Greg Hurrell <greg@hurrell.net>
Based on understandings gained in Exercise 1.15, add a new "max''" function that works for any type in the Ord class, not just for Int types.
Signed-off-by: Greg Hurrell <greg@hurrell.net>