Please sign in to comment.
Remove 2 TODOs in lexer_funScript:
1. asked if next_sym needed to return an option type. It seemed to me that indeed it should as this was the best way to indicate end-of-file, flowing onto the way next_token works as well. We don't have a separate token for EOF so I can't see a good alternative. 2. a stage in next_sym_LESS asked if something was simpler. (Literally: "TODO: simpler?") It wasn't clear to me if this was a question about what was there compared to what had come before, or if this was a question about whether or not what was there could be replaced by something that was simpler. I decided that what was there could be made more robust (no dependency on variable names). I also added more quantification to the theorem statement because the same proof breaks on the signatures branch when free variables in the theorem statement end up being identified with variables that arise in the course of the proof.
- Loading branch information...