[Agda] Argument order, universes and erasability

Andreas Abel andreas.abel at ifi.lmu.de
Tue Oct 15 00:48:20 CEST 2013


On 13.10.2013 20:53, Dan Doel wrote:
> On Sun, Oct 13, 2013 at 10:59 AM, Mathijs Kwik <mathijs at bluescreen303.nl> wrote:
>> I tried to declare `Vec n A` with agda as well, but because agda makes
>> this clear distinction between parameters and indexes, this meant I
>> had to make the Set parameter into an index, which forces `Vec n A` to
>> become Set1.

Idris gives up on the "parameter first, then indices" order and does 
some analysis instead.  I think Agda should follow Idris' lead here...


-- 
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