Features

Something More About Generics Folding

Looking back at constructor type parameters folding, you may wonder why don’t we fold another verbose construct with generics — method type parameters like this:

fillMap(Collections.<String, List<Integer>>emptyMap());

In Maia, we will:

Discover more