error message 'The function "funct" can't be called here'
This error message (triggered by InvalidFunctionType) is not informative enough. For instance, it is raised when running:
parse lexicon=Lex type=S "the_term:its_type"
instead of:
parse lexicon=Lex type=S < "the_term:its_type"