-- | For internal use within IHaskell.
-- Serialize displays to a ByteString.
serializeDisplay :: Display -> ByteString
serializeDisplay = Serialize.encode
serializeDisplay :: Display -> ByteString
serializeDisplay = Serialize.encode
serializeDisplay = Serialize.encode