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