FeedMonad/FeedMonad-demo/app/Main.hs

17 lines
340 B
Haskell
Raw Normal View History

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