plt/racket — pull request #711 by shekari (2014-07-06 02:18:48+00:00)
Title: Improve types of rest and cons.

Add accessor to second case in rest type.
Make cons not widen list types.
Introduces a slight backwards incombatibility in how cons can be
instantiated.

Closes PR 14457.

The backwards incombatibility of cons seems like it is unavoidable because the previous type of cons just ignored the second type argument and dropped all structure from list arguments. I think all necessary changes will be like for little schemer, where the instantiation is no longer needed.