unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] add rnrs unicode to the compound rnrs module
@ 2010-06-19 12:09 Andreas Rottmann
  0 siblings, 0 replies; only message in thread
From: Andreas Rottmann @ 2010-06-19 12:09 UTC (permalink / raw)
  To: Guile Development

[-- 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/>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-19 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-19 12:09 [PATCH] add rnrs unicode to the compound rnrs module Andreas Rottmann

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).