Improve type of identity.

Closes PR 12813.

original commit: 8459c22c0106b1dd31531f5dbbfd1ce1e7d65fed
This commit is contained in:
Sam Tobin-Hochstadt 2012-06-02 18:51:51 -04:00
parent 0a13467456
commit 9e926d2009

View File

@ -1357,7 +1357,7 @@
;; scheme/function
[identity (-poly (a) (-> a a))]
[identity (-poly (a) (->acc (list a) a null))]
[const (-poly (a) (-> a (->* '() Univ a)))]
[negate (-polydots (b) (-> ((list) [b b] . ->... . Univ)
((list) [b b] . ->... . -Boolean)))]