I am coding a lexer in SML. This is my first time working in a fully function language. General recursion is intuitive, but I have a nested recursive function to identify a stri