The problem is that I have to use 'generalCategory' function which isn't exported. It returns the general category which tells me a lot more about the character.
2006/1/17, Ross Paterson <[EMAIL PROTECTED]>: > On Tue, Jan 17, 2006 at 10:33:51AM +0200, Krasimir Angelov wrote: > > I saw that GHC already has complete support for Unicode character > > classification. I tend to use it but I saw that currently GHC.Unicode > > exports only few of all classification routines. Is it intentional? > > It exports some functions used by Data.Char. You'd be better off using > the Data.Char interface, which is also supported by Hugs, and provides > classification using Unicode general categories. Much more could be > added, though. > > _______________________________________________ > Glasgow-haskell-users mailing list > Glasgow-haskell-users@haskell.org > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users > _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users