In Agda's GADT, is “parameterized” and “indexed” different semantically?

cs.stackexchange https://cs.stackexchange.com/questions/98529

  •  05-11-2019
  •  | 
  •  

سؤال

I know they have difference in scoping:

data a (n : Set) : Set where
    introA : a n

data b : Set -> Set where
    introB : {n : Set} -> b n

That's not what I'm caring about. Are they different semantically?

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى cs.stackexchange
scroll top