Allow environment-variables? values as flat in any-wrap/c.

Fixes the `envy` package by @lexi-lambda.
This commit is contained in:
Sam Tobin-Hochstadt 2016-07-08 11:51:52 -04:00
parent 977b9e16a2
commit b1818723dc

View File

@ -30,6 +30,10 @@
(semaphore? e) (fsemaphore? e)
(thread-group? e)
(udp? e)
;; Base since they can only store strings
;; Bounded polymorphism would again make these not flat,
;; but would be unsound since the external OS can change them
(environment-variables? e)
;; Base values because you can only store flonums/fixnums in these
;; and not any higher-order values. This isn't sound if we ever
;; introduce bounded polymorphism for Flvector/Fxvector.