Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
handleArticleFavorite :: ScottyT AppM () Source #
favoriteArticle :: (CreateFavorite m, AquireArticle m, AcquireProfile m) => Slug -> UserID -> m (Either ArticleError OneArticle) Source #
class Monad m => CreateFavorite m where Source #
addFavorite :: ArticleID -> UserID -> m (Either ArticleError ()) Source #
Instances
(Monad m, MonadDB m, MonadUnliftIO m) => CreateFavorite m Source # | |
Defined in Conduit.Features.Articles.Favorites.FavoriteArticle addFavorite :: ArticleID -> UserID -> m (Either ArticleError ()) Source # |