{- This modules describes input data for the command line utlity. -} {-# LANGUAGE DeriveAnyClass #-} {-# LANGUAGE DeriveGeneric #-} module Main.Input ( Input(..) ) where import GHC.Generics (Generic) import Data.Aeson (FromJSON) import Malodivo.Types.Bill (Bill) import Main.DistrictInfo (DistrictInfo) data Input = Input { bills :: [Bill] , districts :: [DistrictInfo] } deriving (Generic, FromJSON)