[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #31680] R6RS string literal intraline whitespace removal
From: |
Göran Weinholt |
Subject: |
[bug #31680] R6RS string literal intraline whitespace removal |
Date: |
Thu, 18 Nov 2010 19:45:17 +0000 |
User-agent: |
Mozilla/5.0 |
Follow-up Comment #3, bug #31680 (project guile):
I've used it for multiline strings, like so:
(define modp-group1-p
(string->number
"FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD1
29024E088A67CC74020BBEA63B139B22514A08798E3404DD
EF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245
E485B576625E7EC6F44C42E9A63A3620FFFFFFFFFFFFFFFF"
16))
or like so:
"My name is Ozymandias, king of kings:n
Look on my works, ye Mighty, and despair!"
I think any implementation of multiline strings should be prepared to handle
characters from other operating systems. But surely you should not need to
check for U+205F and so on explictly, isn't it enough to see that they belong
to the right char-general-category?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31680>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/