-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Simple unicode collation as per RFC5051.
--   
--   This library implements <tt>i;unicode-casemap</tt>, the simple, non
--   locale-sensitive unicode collation algorithm described in RFC 5051
--   (<a>http://www.rfc-editor.org/rfc/rfc5051.txt</a>). Proper unicode
--   collation can be done using text-icu, but that is a big dependency
--   that depends on a large C library, and rfc5051 might be better for
--   some purposes.
--   
--   Here is a list of strings sorted by the Prelude's <tt>sort</tt>
--   function:
--   
--   <pre>
--   Abe Oeb abe abé oeb Ábe Äbe Ôeb ábe äbe ôeb
--   </pre>
--   
--   Here is the same list sorted by <tt>sortBy compareUnicode</tt>:
--   
--   <pre>
--   Abe abe abé Ábe ábe Äbe äbe Oeb oeb Ôeb ôeb
--   </pre>
@package rfc5051
@version 0.1.0.3

module Data.RFC5051

-- | Compare two strings using <tt>i;unicode-casemap</tt>, the simple
--   unicode collation algorithm described in RFC 5051.
compareUnicode :: String -> String -> Ordering
