Add code generation for generic (polymorphic) functions. Currently generic functions are skipped with warning. Needs: either monomorphization (generate specialized versions for each concrete type) or type erasure (uniform representation). Monomorphization is simpler and avoids boxing overhead. Requires tracking which concrete instantiations are used.
Add code generation for generic (polymorphic) functions. Currently generic functions are skipped with warning. Needs: either monomorphization (generate specialized versions for each concrete type) or type erasure (uniform representation). Monomorphization is simpler and avoids boxing overhead. Requires tracking which concrete instantiations are used.