mkFastString package:ghc

Creates a UTF-8 encoded FastString from a String
Creates a FastString from a UTF-8 encoded [Word8]
Create a FastString by copying an existing ByteString
Create a FastString from an existing ShortByteString without copying.