unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Rottmann <a.rottmann@gmx.at>
To: Guile Development <guile-devel@gnu.org>
Subject: [PATCH] add rnrs unicode to the compound rnrs module
Date: Sat, 19 Jun 2010 14:09:06 +0200	[thread overview]
Message-ID: <87mxurusv1.fsf@delenn.lan> (raw)

[-- Attachment #1: Type: text/plain, Size: 57 bytes --]


The compound module (rnrs) was missing (rnrs unicode).


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: rnrs-unicode.diff --]
[-- Type: text/x-diff, Size: 1503 bytes --]

From: Andreas Rottmann <a.rottmann@gmx.at>
Subject: add rnrs unicode to the compound rnrs module

* module/rnrs.scm: import rnrs unicode and export all of its procedures.

---
 module/rnrs.scm |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/module/rnrs.scm b/module/rnrs.scm
index 5df53fe..4ba9e2a 100644
--- a/module/rnrs.scm
+++ b/module/rnrs.scm
@@ -212,7 +212,18 @@
 	  make-variable-transformer syntax syntax-case identifier?
 	  bound-identifier=? free-identifier=? syntax->datum datum->syntax
 	  generate-temporaries with-syntax quasisyntax unsyntax
-	  unsyntax-splicing syntax-violation)
+	  unsyntax-splicing syntax-violation
+
+	  ;; (rnrs unicode)
+	  
+	  char-upcase char-downcase char-titlecase char-foldcase
+	  char-ci=? char-ci<? char-ci>? char-ci<=? char-ci>=?
+	  char-alphabetic? char-numeric? char-whitespace? char-upper-case?
+	  char-lower-case? char-title-case? char-general-category
+	  string-upcase string-downcase string-titlecase string-foldcase
+	  string-ci=? string-ci<? string-ci>? string-ci<=? string-ci>=?
+	  string-normalize-nfd string-normalize-nfkd string-normalize-nfc
+	  string-normalize-nfkc)
 
   (import (rnrs arithmetic bitwise (6))
 	  (rnrs arithmetic fixnums (6))
@@ -237,4 +248,5 @@
 	  (rnrs records procedural (6))
 	  (rnrs records syntactic (6))
 	  (rnrs sorting (6))
-	  (rnrs syntax-case (6))))
+	  (rnrs syntax-case (6))
+	  (rnrs unicode (6))))
-- 
tg: (c399333..) t/rnrs-unicode (depends on: master)

[-- Attachment #3: Type: text/plain, Size: 57 bytes --]


Regards,
-- 
Andreas Rottmann -- <http://rotty.yi.org/>

                 reply	other threads:[~2010-06-19 12:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxurusv1.fsf@delenn.lan \
    --to=a.rottmann@gmx.at \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).