stack-1.3.2: The Haskell Tool Stack

Safe Haskell | None
Language | Haskell2010

Stack.Ghci.Script

Synopsis

- data GhciScript
- data ModuleName :: *
- cmdAdd :: Set ModuleName -> GhciScript
- cmdAddFile :: Path Abs File -> GhciScript
- cmdCdGhc :: Path Abs Dir -> GhciScript
- cmdModule :: Set ModuleName -> GhciScript
- scriptToLazyByteString :: GhciScript -> ByteString
- scriptToBuilder :: GhciScript -> Builder
- scriptToFile :: Path Abs File -> GhciScript -> IO ()

# Documentation

data GhciScript #

Instances

Monoid GhciScript # |
Methods mempty :: GhciScript # mappend :: GhciScript -> GhciScript -> GhciScript # mconcat :: [GhciScript] -> GhciScript #

data ModuleName :: * #

A valid Haskell module name.

Instances

Eq ModuleName |
Methods (==) :: ModuleName -> ModuleName -> Bool # (/=) :: ModuleName -> ModuleName -> Bool #
Data ModuleName |
Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModuleName -> c ModuleName # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModuleName # toConstr :: ModuleName -> Constr # dataTypeOf :: ModuleName -> DataType # dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModuleName) # dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModuleName) # gmapT :: (forall b. Data b => b -> b) -> ModuleName -> ModuleName # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModuleName -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModuleName -> r # gmapQ :: (forall d. Data d => d -> u) -> ModuleName -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ModuleName -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModuleName -> m ModuleName # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModuleName -> m ModuleName # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModuleName -> m ModuleName #
Ord ModuleName |
Methods compare :: ModuleName -> ModuleName -> Ordering # (<) :: ModuleName -> ModuleName -> Bool # (<=) :: ModuleName -> ModuleName -> Bool # (>) :: ModuleName -> ModuleName -> Bool # (>=) :: ModuleName -> ModuleName -> Bool # max :: ModuleName -> ModuleName -> ModuleName # min :: ModuleName -> ModuleName -> ModuleName #
Read ModuleName |
Methods readsPrec :: Int -> ReadS ModuleName # readList :: ReadS [ModuleName] # readPrec :: ReadPrec ModuleName # readListPrec :: ReadPrec [ModuleName] #
Show ModuleName |
Methods showsPrec :: Int -> ModuleName -> ShowS # show :: ModuleName -> String # showList :: [ModuleName] -> ShowS #
Generic ModuleName |
Associated Types type Rep ModuleName :: * -> * # Methods from :: ModuleName -> Rep ModuleName x # to :: Rep ModuleName x -> ModuleName #
Binary ModuleName |
Methods put :: ModuleName -> Put # get :: Get ModuleName # putList :: [ModuleName] -> Put #
Text ModuleName |
Methods disp :: ModuleName -> Doc # parse :: ReadP r ModuleName #
type Rep ModuleName |
type Rep ModuleName = D1 (MetaData "ModuleName" "Distribution.ModuleName" "Cabal-1.24.0.0" True) (C1 (MetaCons "ModuleName" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])))

cmdAdd :: Set ModuleName -> GhciScript #

cmdAddFile :: Path Abs File -> GhciScript #

cmdCdGhc :: Path Abs Dir -> GhciScript #

cmdModule :: Set ModuleName -> GhciScript #

scriptToLazyByteString :: GhciScript -> ByteString #

scriptToBuilder :: GhciScript -> Builder #

scriptToFile :: Path Abs File -> GhciScript -> IO () #