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

Safe HaskellNone
LanguageHaskell98

DDC.Build.Pipeline.Sink

Synopsis

Documentation

data Sink Source

What to do with program text.

Constructors

SinkDiscard

Drop it on the floor.

SinkStdout

Emit it to stdout.

SinkFile FilePath

Write it to this file.

Instances

pipeSink :: String -> Sink -> IO [Error] Source

Emit a string to the given Sink.