|
From: | Daniel Carrera |
Subject: | Re: [Chicken-users] Review my Caesar Cipher? |
Date: | Mon, 10 Mar 2014 20:04:57 +0100 |
This isn't i18n-safe, because char-alphabetic? can return #t on
non-Latin letters. Convert to an integer first and make sure it's in
the safe range. Then add a comment to the effect that this assumes a
Scheme in which char->integer and integer->char preserve the ASCII range.
(Almost all Schemes do so, but it's not required by R5RS.)
...
2) `Use` is Chicken-specific. There is no fully standard way to
load/import a module prior to R6RS/R7RS, but at least `require-extension`
(which is also implemented in Chicken) is the subject of SRFI 55.
[Prev in Thread] | Current Thread | [Next in Thread] |