packages feed

irc-fun-bot-0.6.0.0: src/Network/IRC/Fun/Bot/Internal/Instances.hs

{- This file is part of irc-fun-bot.
 -
 - Written in 2015, 2016 by fr33domlover <fr33domlover@riseup.net>.
 -
 - ♡ Copying is an act of love. Please copy, reuse and share.
 -
 - The author(s) have dedicated all copyright and related and neighboring
 - rights to this software to the public domain worldwide. This software is
 - distributed without any warranty.
 -
 - You should have received a copy of the CC0 Public Domain Dedication along
 - with this software. If not, see
 - <http://creativecommons.org/publicdomain/zero/1.0/>.
 -}

{-# LANGUAGE StandaloneDeriving, GeneralizedNewtypeDeriving #-}

-- | This module exports some typeclasses instances for some of the newtypes
-- in "Network.IRC.Fun.Types".
module Network.IRC.Fun.Bot.Internal.Instances () where

import Data.Aeson (FromJSON, ToJSON)
import Network.IRC.Fun.Types.Base

deriving instance FromJSON Channel
deriving instance ToJSON   Channel