[m-rev.] for review: add some unicode support to Mercury

Michael Day mikeday at bigpond.net.au
Wed Jul 5 08:53:14 AEST 2006


> Add the function utf8_length to the string module to determine the number
> of unicode characters in a string.

Might it not be more useful to add this to a separate utf8 module, that
can also include functionality such as utf8_foldl that iterates over
UNICODE codepoints rather than bytes, without having to clutter up the
string module?

Michael

-- 
Print XML with Prince!
http://www.princexml.com
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list