Ord methods are surprisingly strict

Simon Jakobi simon.jakobi at googlemail.com
Thu May 7 13:18:16 UTC 2020


I noticed a small error in my definition of max:

>   max Type x    = x
>   max Kind Sort = Kind
>   max Kind _    = Kind
>   max Sort _    = Sort

(max Kind Sort) must be Sort!


More information about the Libraries mailing list