imm-1.4.0.0: Execute arbitrary actions for each unread element of RSS/Atom feeds

Safe HaskellNone
LanguageHaskell98

Imm.Hooks

Contents

Description

Hooks module abstracts over the main behavior of the program.

This module follows the Handle pattern.

import qualified Imm.Hooks as Hooks
Synopsis

Types

newtype Handle m Source #

Constructors

Handle 

Fields

Primitives

onNewElement :: Monad m => Handle m -> Handle m -> Feed -> FeedElement -> m () Source #