reddit-pub/reddit_pub/src/Data/SubReddit.hs

10 lines
210 B
Haskell
Raw Normal View History

2021-10-25 19:04:24 +03:00
{-# LANGUAGE DerivingVia #-}
module Data.SubReddit where
import Dhall (FromDhall, ToDhall)
newtype SubReddit = SubReddit { getSubReddit :: String }
deriving Show
deriving (FromDhall, ToDhall) via String