<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I don’t have a good answer, but I thought I’d mention this project which looks interesting and I’m considering using myself:</div><div class=""><br class=""></div><div class=""> <a href="https://github.com/llelf/prose" class="">https://github.com/llelf/prose</a></div><div class=""><br class=""></div><div class=""><span style="orphans: 2; text-align: -webkit-auto; widows: 2;" class="">-- </span></div><div class=""><span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Rob Leslie<br class=""><a href="mailto:rob@mars.org" class="">rob@mars.org</a><br class=""><br class=""></div></span>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Mar 17, 2016, at 12:59 AM, Harendra Kumar <<a href="mailto:harendra.kumar@gmail.com" class="">harendra.kumar@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I looked around and found only one package, text-icu which provides unicode normalization operations and a lot more. But text-icu depends on the icu library being installed on the system. We would prefer to avoid dependency on the icu library.<div class=""><br class=""></div><div class="">Is there a lightweight alternative which does not depend on icu? It could be a pure Haskell package or bindings to a lightweight C library where the library is small and shipped with the package itself.<div class=""><br class=""></div><div class="">I wonder if there is a need for unicode normalization operations in GHC code itself? If so how does it handle that?</div><div class=""><br class=""></div><div class="">I found a lightweight C library (<a href="https://github.com/JuliaLang/utf8proc" class="">https://github.com/JuliaLang/utf8proc</a>) for normalization and case folding used by the Julia lang project. If there is no other option I am considering creating bindings to this library.</div><div class=""><br class=""></div><div class="">Any pointers, thoughts?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Harendra</div></div></div>
_______________________________________________<br class="">Haskell-Cafe mailing list<br class=""><a href="mailto:Haskell-Cafe@haskell.org" class="">Haskell-Cafe@haskell.org</a><br class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe<br class=""></div></blockquote></div><br class=""></body></html>