Safe Haskell | None |
---|---|
Language | Haskell2010 |
- daysUntil :: [Char] -> IO Integer
- data Row = Row {}
- toRow :: [String] -> Int -> Double -> Row
- updateTodos :: (MonadReader VConfig m, MonadIO m) => Int -> Int -> m ()
- delTask :: (MonadReader VConfig m, MonadIO m) => Int -> m ()
- getTime :: (MonadReader VConfig m, MonadIO m) => String -> m Int
- qetTasks' :: (MonadReader VConfig m, MonadIO m) => m [Row]
- apply :: [t -> a] -> [t] -> [a]
- convRow' :: [[SqlValue]] -> [[String]]
- conv' :: SqlValue -> String
- makeQuery' :: (MonadReader VConfig m, MonadIO m) => String -> m [[String]]
- merge :: [a] -> [a] -> [a]
- genModal' :: Row -> IO String
- daysToColor' :: (Num a, Ord a) => a -> String
- convTitle :: String -> String
- getModal :: IO [[Char]]
- getTodos :: (MonadReader VConfig m, MonadIO m) => m String
- getTheme :: (MonadReader VConfig m, MonadIO m) => m String
- deleteTodo :: (MonadReader VConfig m, MonadIO m) => ByteString -> m ()
Documentation
updateTodos :: (MonadReader VConfig m, MonadIO m) => Int -> Int -> m () Source #
getTime :: (MonadReader VConfig m, MonadIO m) => String -> m Int Source #
returns time spent on task based off of Task id
qetTasks' :: (MonadReader VConfig m, MonadIO m) => m [Row] Source #
returns Row data structures for each open task
makeQuery' :: (MonadReader VConfig m, MonadIO m) => String -> m [[String]] Source #
makes Query
getTheme :: (MonadReader VConfig m, MonadIO m) => m String Source #
support for user defined themes in villefort config
deleteTodo :: (MonadReader VConfig m, MonadIO m) => ByteString -> m () Source #
Delete a done task from database sets state = 0 but it's record is still maintained in the database for the stats page.