ghc-lib-0.1.0: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

PprBase

Documentation

castFloatToWord8Array :: STUArray s Int Float -> ST s (STUArray s Int Word8) Source #

castDoubleToWord8Array :: STUArray s Int Double -> ST s (STUArray s Int Word8) Source #

floatToBytes :: Float -> [Int] Source #

doubleToBytes :: Double -> [Int] Source #

pprASCII :: ByteString -> SDoc Source #

pprBytes :: ByteString -> SDoc Source #

Pretty print binary data.

Use either the ".string" directive or a ".incbin" directive. See Note [Embedding large binary blobs]

A NULL byte is added after the binary data.

pprSectionHeader :: Platform -> Section -> SDoc Source #

AltStyle によって変換されたページ (->オリジナル) /