| otherwise = y
compare a b = cmpFS a b
+instance Show FastString where
+ show fs = show (unpackFS fs)
+
lengthFS :: FastString -> Int
lengthFS (FastString _ l# _) = I# l#
lengthFS (UnicodeStr _ s) = length s
))
#ifndef __HADDOCK__
-foreign import ccall "ghc_memcmp" unsafe
+foreign import ccall unsafe "ghc_memcmp"
memcmp :: ByteArray# -> ByteArray# -> Int# -> IO Int
#endif