[Agda] complex indices

Ramana Kumar rk436 at cam.ac.uk
Wed Feb 22 23:02:30 CET 2012


Awesome!

On Wed, Feb 22, 2012 at 10:47 PM, Andreas Abel <andreas.abel at ifi.lmu.de>wrote:

> Fixed.  Now it prints as y.
>
>
> On 22.02.12 10:05 PM, Ramana Kumar wrote:
>
>>    That Agda prints y as @0 points to some problem in Agda.
>>
>>
>> Right.
>>        data foo : (y : Bool) → if y then Set else Set where
>>           bar : foo true Bool
>>
>>        The error I get is
>>
>>        if @0 then Set else Set != Set of type Set₁
>>        when checking the definition of foo
>>
>
>
> --
> Andreas Abel  <><      Du bist der geliebte Mensch.
>
> Theoretical Computer Science, University of Munich
> Oettingenstr. 67, D-80538 Munich, GERMANY
>
> andreas.abel at ifi.lmu.de
> http://www2.tcs.ifi.lmu.de/~**abel/ <http://www2.tcs.ifi.lmu.de/~abel/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.chalmers.se/pipermail/agda/attachments/20120222/2fec3a18/attachment.html


More information about the Agda mailing list