Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- newtype Pkg = Pkg String
- newtype Mod = Mod String
- newtype Expr = Expr ([Pkg], [Mod], String)
- eval :: Expr -> IO (Maybe String)
- mkCmd :: Expr -> (String, [String])
- mkGhcPkg :: [Pkg] -> [Char]
- mkHs :: Expr -> String
- trim :: String -> String
- raw :: String -> Expr
- ($$) :: Expr -> Expr -> Expr
- asString :: Show a => a -> Expr
- qualified :: Mod -> String -> Expr
- withMods :: [Mod] -> Expr -> Expr
- withPkgs :: [Pkg] -> Expr -> Expr
Documentation
A raw String of Haskell code, with no packages or modules. You can use OverloadedStrings to call this automatically.