Generates of an array of formal type as strings.

The size of the array equals the arity of the class.

Property definitions

functional :: functional_gen $ Sys :: gen_generics
# Generates of an array of formal type as strings.
# The size of the array equals the arity of the class.
fun gen_generics(nargs: Int): Array[String]
do
        var args = new Array[String]
        for i in [0..nargs[ do
                args.push("A" + i.to_s)
        end
        return args
end
lib/functional/functional_gen.nit:20,1--29,3