Open UlfNorell opened 10 years ago
From ulf.nor...@gmail.com on November 16, 2011 02:09:51
For 1 you can always slap a lambda on your open terms to make them closed, or insert a goal as you mention. Although when inserting a goal you don't have to remove anything, just add {! around !} it and reload. That also takes care of 2.
We don't have the technology to map source code positions to type checking state at the moment and I'm not sure it's worth the machinery that would be required.
3 wouldn't be impossible I suppose, but it would mean adding huge amounts of data to the emacs highlighting files, so I'm not sure it's worth it.
Status: Accepted
Labels: Type-Enhancement Priority-Low Emacs
From david.wa...@gmail.com on November 16, 2011 02:22:33
Ok, I see. Yes, that trick solves it. But reloading takes time and typing effort (I am lazy and impatient ;-). I still think many users would appreciate automatic help about types of subterms.
From david.wa...@gmail.com on November 14, 2011 14:56:42
What's the problem? Cut-and-pasted program examples are preferred over attachments (if reasonably short). When the cursor is in a goal, I can get the type of an expression by typing C-c C-d. I would like to have two enhancements of this feature:
Original issue: http://code.google.com/p/agda/issues/detail?id=516