aboutsummaryrefslogtreecommitdiff
path: root/lib/Web/OpenWeatherMap/Types/Main.hs
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2020-06-28 20:21:27 +0200
committerIgor Pashev <pashev.igor@gmail.com>2020-06-28 20:21:27 +0200
commit9cfef7b14ac5af7109449b54b1cb352b4c76167a (patch)
treec19a188f77e0e26e8eb49c6a8678800afac74443 /lib/Web/OpenWeatherMap/Types/Main.hs
parent24b77b7b78573e50cc8edb94bf1b893e0a40208c (diff)
downloadopenweathermap-9cfef7b14ac5af7109449b54b1cb352b4c76167a.tar.gz
Reformat with hindent
Diffstat (limited to 'lib/Web/OpenWeatherMap/Types/Main.hs')
-rw-r--r--lib/Web/OpenWeatherMap/Types/Main.hs20
1 files changed, 11 insertions, 9 deletions
diff --git a/lib/Web/OpenWeatherMap/Types/Main.hs b/lib/Web/OpenWeatherMap/Types/Main.hs
index 8ce3f7b..7bb62a6 100644
--- a/lib/Web/OpenWeatherMap/Types/Main.hs
+++ b/lib/Web/OpenWeatherMap/Types/Main.hs
@@ -11,12 +11,14 @@ import Data.Aeson (FromJSON)
{-# ANN module "HLint: ignore Use camelCase" #-}
-data Main = Main
- { temp :: Double
- , pressure :: Double
- , humidity :: Double
- , temp_min :: Double
- , temp_max :: Double
- , sea_level :: Maybe Double
- , grnd_level :: Maybe Double
- } deriving (Show, Generic, FromJSON)
+data Main =
+ Main
+ { temp :: Double
+ , pressure :: Double
+ , humidity :: Double
+ , temp_min :: Double
+ , temp_max :: Double
+ , sea_level :: Maybe Double
+ , grnd_level :: Maybe Double
+ }
+ deriving (Show, Generic, FromJSON)