Move mutable list functions to the compatibility collect.
Mutable pair functions from racket/base are not moved. original commit: 52439d528b78db6394798d9bdd39b2017de03a5e
This commit is contained in:
parent
2b8e955f68
commit
6b569fa82f
|
@ -50,7 +50,7 @@ TR missed opt: pair.rkt 84:17 (set-mcdr! (ann (quote ()) (MListof Integer)) (ann
|
|||
)
|
||||
|
||||
#lang typed/racket
|
||||
(require racket/mpair)
|
||||
(require compatibility/mpair)
|
||||
|
||||
;; car/cdr can be optimized if they are guaranteed to be applied only to
|
||||
;; non-empty lists. otherwise, we miss a potential optimization
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
(only-in racket/private/pre-base new-apply-proc)
|
||||
racket/promise racket/system
|
||||
racket/function
|
||||
racket/mpair
|
||||
compatibility/mpair
|
||||
racket/base
|
||||
racket/set
|
||||
racket/place
|
||||
|
|
Loading…
Reference in New Issue
Block a user