-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A string type optimized for size in memory -- -- A string type offering very little memory overhead. No string -- manipulation functions are offered. -- -- Equality and ordinal comparison aim to be competitive with the String -- type. @package smallstring @version 0.1.0 -- | The SmallString type is for storing small identifiers. We do not -- provide fast operations on strings - what we offer is low memory -- overhead. -- -- The Ord instance is not guaranteed to be the same as that of the -- corresponding string. module Data.SmallString -- | A space efficient representation of text. This is like a strict -- ByteString, but with fewer features, and UTF preserving. Fow ASCII -- data, we're slightly smaller than ByteStrings for small strings. data SmallString -- | Convert a String into a SmallString. fromString :: String -> SmallString -- | Convert a SmallString into a String. toString :: SmallString -> String instance NFData SmallString instance Show SmallString instance Ord SmallString instance Eq SmallString