mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
Added more functions to (prim-creates-mutable-obj?)
This commit is contained in:
parent
c1bd242205
commit
c23d3c4a7a
1 changed files with 7 additions and 1 deletions
|
@ -526,7 +526,13 @@
|
||||||
(define (prim-creates-mutable-obj? prim)
|
(define (prim-creates-mutable-obj? prim)
|
||||||
(member
|
(member
|
||||||
prim
|
prim
|
||||||
'(cons make-vector make-bytevector)))
|
'(cons
|
||||||
|
make-vector
|
||||||
|
make-bytevector
|
||||||
|
bytevector bytevector-append bytevector-copy
|
||||||
|
string->utf8 number->string symbol->string list->string utf8->string
|
||||||
|
string-append string substring Cyc-installation-dir read-line
|
||||||
|
)))
|
||||||
|
|
||||||
;; Check each pair of primitive call / corresponding lambda arg,
|
;; Check each pair of primitive call / corresponding lambda arg,
|
||||||
;; and verify that if the primitive call creates a new mutable
|
;; and verify that if the primitive call creates a new mutable
|
||||||
|
|
Loading…
Add table
Reference in a new issue