Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Query = String
- type Path = String
- type Subject = String
- getSubjects :: (MonadReader VConfig m, MonadIO m) => m [String]
- path' :: (MonadReader VConfig m, MonadIO m) => m FilePath
- getDb :: (MonadReader VConfig m, MonadIO m) => m Connection
- convRow :: [[SqlValue]] -> [[String]]
- makeQuery :: (MonadReader VConfig m, MonadIO m) => String -> m [[String]]
- execQuery :: (Convertible a SqlValue, MonadIO m, MonadReader VConfig m) => String -> [a] -> m ()
- getNextId :: (MonadReader VConfig m, MonadIO m) => m Integer
- addTask :: (MonadReader VConfig m, MonadIO m) => String -> String -> String -> String -> m ()
- addDaily :: (MonadReader VConfig m, MonadIO m) => [String] -> m ()
- getDone :: (MonadReader VConfig m, MonadIO m) => m [[String]]
- clean :: a -> a
Documentation
getSubjects :: (MonadReader VConfig m, MonadIO m) => m [String] Source #
getDb :: (MonadReader VConfig m, MonadIO m) => m Connection Source #
execQuery :: (Convertible a SqlValue, MonadIO m, MonadReader VConfig m) => String -> [a] -> m () Source #