<div dir="ltr">I think the rules aren't nailed down precisely (or documented), but the compiler treats ".." as "erase at runtime". A consequence is that you cannot pattern match on a ".." argument<div><br></div><div>In this particular case it means that the 'n' will not be an argument to the constructors at runtime.<div><br></div><div>/ Ulf</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 8, 2016 at 10:28 PM, Martin Stone Davis <span dir="ltr"><<a href="mailto:martin.stone.davis@gmail.com" target="_blank">martin.stone.davis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm curious about a certain syntax involving "..". E.g., from the agda-prelude:<br>
<br>
data Fin : Nat → Set where<br>
zero : ∀ ..{n} → Fin (suc n)<br>
suc : ∀ ..{n} (i : Fin n) → Fin (suc n)<br>
<br>
Where can I learn more about this? I didn't find it in the CHANGELOG or the official User Manual. Was it discussed on this list perhaps?<br>
<br>
______________________________<wbr>_________________<br>
Agda mailing list<br>
<a href="mailto:Agda@lists.chalmers.se" target="_blank">Agda@lists.chalmers.se</a><br>
<a href="https://lists.chalmers.se/mailman/listinfo/agda" rel="noreferrer" target="_blank">https://lists.chalmers.se/mail<wbr>man/listinfo/agda</a><br>
</blockquote></div><br></div>