FeedMonad/FeedMonad-demo/app/Main.hs
2021-11-11 22:31:38 +02:00

17 lines
337 B
Haskell

{-# LANGUAGE OverloadedStrings #-}
module Main where
import FeedMonad
import Data.Category
import Data.URL (URL(..))
myFeeds :: [ Category URL ]
myFeeds =
[ Category "News"
[ Leaf (URL "https://github.com/feediron/feediron-recipes/commits/master.atom")]
]
main :: IO ()
main = do
defaultMain defaultConfig{feeds = myFeeds }