[Agda] type of map..<=

Serge D. Mechveliani mechvel at botik.ru
Thu Oct 4 19:08:44 CEST 2012


Who can tell, please, what must be the type of the result of  g  in the 
program

   f : Nat -> Nat
   f n = n + 2     -- may be some complex function

-- g : (xs : List Nat) -> ?
   g xs = map (\lambda x -> (f x) <= 6) xs
?
(here `<=' stands for the math symbol  \<= ).

Thanks,

------
Sergei


More information about the Agda mailing list