[Agda] problem with C-c | (show context) in 2.1.3

Thorsten Altenkirch txa at Cs.Nott.AC.UK
Fri May 9 12:28:14 CEST 2008


Hi,

I noticed that the "Context" command doesn't work in my configuration  
(aquamacs with agda-2.1.3). I get an error message in the *ghci* buffer:

Prelude Interaction.GhciTop> cmd_context 0 (Range (Pn "/Users/txa/ 
current/bug.agda" 111 8 19) (Pn "/Users/txa/current/bug.agda" 113 8  
21)) ""

<interactive>:1:15:
     Couldn't match expected type `InteractionId'
            against inferred type `Range'
     In the second argument of `cmd_context', namely
         `(Range
             (Pn "/Users/txa/current/bug.agda" 111 8 19)
             (Pn "/Users/txa/current/bug.agda" 113 8 21))'
     In the expression:
         cmd_context
           0
           (Range
              (Pn "/Users/txa/current/bug.agda" 111 8 19)
              (Pn "/Users/txa/current/bug.agda" 113 8 21))
           ""
     In the definition of `it':
         it = cmd_context
                0
                (Range
                   (Pn "/Users/txa/current/bug.agda" 111 8 19)
                   (Pn "/Users/txa/current/bug.agda" 113 8 21))
                ""

when issuing C-C | anywhere, e.g. in goal 0 in the attached example.

Anybody else has got this problem?

Cheers,
Thorsten


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.agda
Type: application/octet-stream
Size: 162 bytes
Desc: not available
Url : https://lists.chalmers.se/mailman/private/agda/attachments/20080509/1496c409/bug.obj
-------------- next part --------------



More information about the Agda mailing list