Opened 3 weeks ago

#1853 new defect

utf8 egg: Missing character type predicates

Reported by: zaifir Owned by:
Priority: minor Milestone: someday
Component: extensions Version: 5.4.0
Keywords: unicode Cc:
Estimated difficulty: easy

Description

The utf8 egg doesn't provide Unicode-aware versions of the R5RS character type predicates (char-whitespace?, etc.). The attached patch provides them; it is based on my updated version of the unicode-char-sets extension (see http://bugs.call-cc.org/ticket/1851). It can easily be modified to work with other versions of the egg by simply replacing the multiple char-set imports with (import (unicode-char-sets)).

Attachments (1)

utf8.scm.diff (2.3 KB) - added by zaifir 3 weeks ago.
Changes to utf8.scm (add character type predicates)

Download all attachments as: .zip

Change History (1)

Changed 3 weeks ago by zaifir

Attachment: utf8.scm.diff added

Changes to utf8.scm (add character type predicates)

Note: See TracTickets for help on using tickets.