# LANGUAGE DeriveGeneric        #
{-# LANGUAGE OverloadedStrings   #-}
{-# LANGUAGE RecordWildCards     #-}
# LANGUAGE ScopedTypeVariables #
# LANGUAGE TemplateHaskell      #
{-# LANGUAGE TypeOperators       #-}

module Factom.Rest.Server.Types.User where

import           Control.Applicative
import           Control.Monad                   (forM_, join, mzero)
import           Data.Aeson                      (FromJSON (..), ToJSON (..),
                                                  Value (..), decode, object,
                                                  pairs, (.:), (.:?), (.=))
import           Data.Aeson.AutoType.Alternative
import qualified Data.ByteString.Lazy.Char8      as BSL
import           Data.Monoid
import           Data.Text                       (Text)
import qualified GHC.Generics
import           System.Environment              (getArgs)
import           System.Exit                     (exitFailure, exitSuccess)
import           System.IO                       (hPutStrLn, stderr)

--------------------------------------------------------------------------------

# LANGUAGE OverloadedStrings   #
# LANGUAGE RecordWildCards     #
# LANGUAGE TypeOperators       #
------------------------------------------------------------------------------
# LANGUAGE DeriveGeneric        #
# LANGUAGE ScopedTypeVariables #
# LANGUAGE TemplateHaskell      #

module Factom.Rest.Server.Types.User where

import           Control.Applicative
import           Control.Monad                   (forM_, join, mzero)
import           Data.Aeson                      (FromJSON (..), ToJSON (..),
                                                  Value (..), decode, object,
                                                  pairs, (.:), (.:?), (.=))
import           Data.Aeson.AutoType.Alternative
import qualified Data.ByteString.Lazy.Char8      as BSL
import           Data.Monoid
import           Data.Text                       (Text)
import qualified GHC.Generics
import           System.Environment              (getArgs)
import           System.Exit                     (exitFailure, exitSuccess)
import           System.IO                       (hPutStrLn, stderr)

