Closed prakhar1989 closed 8 years ago
Using generic types T in functions not using the correct syntax i.e. [T] gives an error like below - Type error: expected value of type 'list T', got a value of type 'list num' instead
T
[T]
Type error: expected value of type 'list T', got a value of type 'list num' instead
This should be changed to something more helpful.
Using generic types
T
in functions not using the correct syntax i.e.[T]
gives an error like below -Type error: expected value of type 'list T', got a value of type 'list num' instead
This should be changed to something more helpful.