Discuss [ML] Error use filter, isupper and string.sub in the Other Programming Languages forum on Dev Shed. [ML] Error use filter, isupper and string.sub A place for discussing programming languages not covered in specific forums such as Assembler, COBOL, etc. - you get the idea.
Posts: 737
Time spent in forums: 3 Weeks 4 Days 23 h 56 m 3 sec
Reputation Power: 928
I don't know any Standard ML, but from the error message it looks like the syntax List.filter(g,sl) is applying List.filter to a 2-Tuple (g,sl) instead of applying it first to g, then to sl. Have you checked whatever reference you're using for the syntax when calling a function that takes multiple arguments (or example of List.filter in general)?