ghc-7.10.0.20150316: The GHC API

Safe HaskellNone
LanguageHaskell2010

TcSplice

Synopsis

Documentation

runQuasi :: Q a -> TcM a Source

traceSplice :: SpliceInfo -> TcM () Source

outputs splice information for 2 flags which have different output formats: `-ddump-splices` and `-dth-dec-file`

This duplicates code in RnSplice.lhs

data SpliceInfo Source

The splice data to be logged

duplicates code in RnSplice.lhs

runMeta' :: Bool -> (hs_syn -> SDoc) -> (SrcSpan -> x -> TcM (Either MsgDoc hs_syn)) -> LHsExpr Id -> TcM hs_syn Source