The Base Module and Polymorphic Functions

This is the same issue that was mentioned in Possible bug in Base.List.map. In short, the standard (=) operator is polymorphic, but Base redefines it to be only defined for ints, since polymorphic compare is generally not what you want. See also: Removing polymorphic compare from Core.

3 Likes