The first not applied Maptype constructor correctly yields a Map AST with two not yet applied type parameters __. The following partially applied Map<a>, however, yields Map with a type variable a but omits the second type parameter that ought to be __, i.e. Map<a, __>.
The first not applied
Map
type constructor correctly yields aMap
AST with two not yet applied type parameters__
. The following partially appliedMap<a>
, however, yieldsMap
with a type variablea
but omits the second type parameter that ought to be__
, i.e.Map<a, __>
.