[m-users.] How to avoid warning about highly ambiguous overloading

Dirk Ziegemeyer dirk at ziegemeyer.de
Wed Jul 20 06:50:08 AEST 2016


Hi Zoltan,

> While X = map.init could be a reference to either the function
> or the predicate version of map.init, map.init(X) can only be a reference
> to the predicate version. In many cases, this technique will avoid
> ambiguity with shorter code than using explicit type qualification.

Thank you for this hint.

Dirk


More information about the users mailing list