-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Inspect Haskell source files. -- -- Inspect .hs files using the ghc api. @package hsinspect @version 0.0.2 module HsInspect.Sexp data Sexp SexpCons :: Sexp -> Sexp -> Sexp SexpNil :: Sexp SexpString :: String -> Sexp SexpSymbol :: String -> Sexp list :: [Sexp] -> Sexp toList :: Sexp -> Maybe [Sexp] alist :: [(Sexp, Sexp)] -> Sexp attrs :: [(String, Sexp)] -> Sexp class ToSexp a toSexp :: ToSexp a => a -> Sexp render :: Sexp -> String encode :: ToSexp a => a -> String instance HsInspect.Sexp.ToSexp GHC.Base.String instance HsInspect.Sexp.ToSexp a => HsInspect.Sexp.ToSexp [a] instance HsInspect.Sexp.ToSexp a => HsInspect.Sexp.ToSexp (GHC.Maybe.Maybe a) instance Data.String.IsString HsInspect.Sexp.Sexp module HsInspect.Imports imports :: GhcMonad m => FilePath -> m [Qualified] imports' :: GhcMonad m => FilePath -> m [GlobalRdrElt] showGhc :: Outputable a => a -> String workaroundGhc :: GhcMonad m => FilePath -> m (ModuleName, Target) minf_rdr_env' :: GhcMonad m => ModuleName -> m GlobalRdrEnv describe :: GlobalRdrElt -> [Qualified] data Qualified Qualified :: Maybe String -> Maybe String -> String -> Qualified instance GHC.Show.Show HsInspect.Imports.Qualified instance GHC.Classes.Eq HsInspect.Imports.Qualified instance HsInspect.Sexp.ToSexp HsInspect.Imports.Qualified instance Json.ToJson HsInspect.Imports.Qualified