[Agda] complex indices
Andreas Abel
andreas.abel at ifi.lmu.de
Wed Feb 22 22:47:25 CET 2012
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/
More information about the Agda
mailing list