Copyright | (c) CNRS 2017-Present |
---|---|
License | AGPL + CECILL v3 |
Maintainer | team@gargantext.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- type IniPath = FilePath
- withDevEnv :: IniPath -> (DevEnv -> IO a) -> IO a
- runCmdRepl :: Show err => Cmd'' DevEnv err a -> IO a
- runCmdReplServantErr :: Cmd'' DevEnv ServerError a -> IO a
- runCmdDev :: Show err => DevEnv -> Cmd'' DevEnv err a -> IO a
- runCmdGargDev :: DevEnv -> GargM DevEnv BackendInternalError a -> IO a
- runCmdDevNoErr :: DevEnv -> Cmd' DevEnv () a -> IO a
- runCmdDevServantErr :: DevEnv -> Cmd' DevEnv ServerError a -> IO a
- runCmdReplEasy :: Cmd'' DevEnv BackendInternalError a -> IO a
- runCmdReplEasyDB :: (Connection -> IO a) -> IO a
Documentation
runCmdReplServantErr :: Cmd'' DevEnv ServerError a -> IO a #
runCmdGargDev :: DevEnv -> GargM DevEnv BackendInternalError a -> IO a #
runCmdDevServantErr :: DevEnv -> Cmd' DevEnv ServerError a -> IO a #
runCmdReplEasy :: Cmd'' DevEnv BackendInternalError a -> IO a #
runCmdReplEasyDB :: (Connection -> IO a) -> IO a #
Execute a function that takes PSQL.Connection from the DB pool as first parameter. e.g.: runCmdReplEasyDB $ c -> getNodeStory' c