[Agda] Why aren't free vars in types automatically generalized

Nils Anders Danielsson nad at Cs.Nott.AC.UK
Tue Mar 31 09:40:02 CEST 2009


On 2009-03-30 20:38, Robert J. Simmons wrote:

> Am I right that Agda doesn't have a similar annotation syntax?

Yes. You can often use the following function (from Data.Function)
instead:

  _∶_ : (A : Set) → A → A
  _ ∶ x = x

-- 
/NAD


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



More information about the Agda mailing list