[Agda] list of types

Serge D. Mechveliani mechvel at botik.ru
Mon Apr 15 11:44:48 CEST 2013


Andreas Abel responded recently

> A list of types is not a type.

But why       
       EachPositive : List Nat -> List (Set _)
       EachPositive xs =  map (\ n -> n > 0) xs

is type-checked?
(Agda-2.3.2 MAlonzo).

Regards,

------
Sergei


More information about the Agda mailing list