ddc-build-0.4.3.1: Disciplined Disciple Compiler build framework.

Safe HaskellNone
LanguageHaskell98

DDC.Build.Interface.Base

Synopsis

Documentation

data Interface ta sa Source #

Module interface.

Constructors

Interface 

Fields

Instances

Pretty (Interface ta sa) Source # 

Associated Types

data PrettyMode (Interface ta sa) :: * #

Methods

pprDefaultMode :: PrettyMode (Interface ta sa) #

ppr :: Interface ta sa -> Doc #

pprPrec :: Int -> Interface ta sa -> Doc #

pprModePrec :: PrettyMode (Interface ta sa) -> Int -> Interface ta sa -> Doc #

makeInterfaceTearLine :: String -> String Source #

Tear line to separate sections of the interface file. We use '~' because it's not used in the core language syntax.

takeInterfaceTearLine :: String -> Maybe String Source #

Take the name from an interface tear line, if it is one.

isInterfaceTearLine :: String -> Bool Source #

Check if this string is an interface tear line.