[racket-dev] regexp-split produces immutable cons when rnrs/base-6 is required
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
regexp-split produces an immutable cons when rnrs/base-6 is required:
$ echo "m" | racket -e '(require rnrs/base-6) (car (regexp-split " +"
(read-line (current-input-port))))
'mcar: expects argument of type <mutable-pair>; given '("m")
but
$ echo "m" | racket -e '(require rnrs/base-6) (car (list (read-line
(current-input-port))))'
"m"
so apparently regexp-split is the culprit,
Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7PlOEACgkQp/VmCx0OL2wlTwCgwTewaztqNFFkqtQxj9Yh2ELB
/FkAnjA9OksH4ziOdIP33C5SdveRx960
=Mw9C
-----END PGP SIGNATURE-----