diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2020-06-28 20:21:27 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2020-06-28 20:21:27 +0200 |
commit | 9cfef7b14ac5af7109449b54b1cb352b4c76167a (patch) | |
tree | c19a188f77e0e26e8eb49c6a8678800afac74443 /lib/Web/OpenWeatherMap/Types/City.hs | |
parent | 24b77b7b78573e50cc8edb94bf1b893e0a40208c (diff) | |
download | openweathermap-9cfef7b14ac5af7109449b54b1cb352b4c76167a.tar.gz |
Reformat with hindent
Diffstat (limited to 'lib/Web/OpenWeatherMap/Types/City.hs')
-rw-r--r-- | lib/Web/OpenWeatherMap/Types/City.hs | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/Web/OpenWeatherMap/Types/City.hs b/lib/Web/OpenWeatherMap/Types/City.hs index bb6cd6d..4ca30bd 100644 --- a/lib/Web/OpenWeatherMap/Types/City.hs +++ b/lib/Web/OpenWeatherMap/Types/City.hs @@ -11,11 +11,13 @@ import Data.Aeson (FromJSON) import Web.OpenWeatherMap.Types.Coord (Coord) -data City = City - { name :: String - , country :: Maybe String - , coord :: Coord - , timezone :: Int - , sunset :: Int - , sunrise :: Int - } deriving (Show, Generic, FromJSON) +data City = + City + { name :: String + , country :: Maybe String + , coord :: Coord + , timezone :: Int + , sunset :: Int + , sunrise :: Int + } + deriving (Show, Generic, FromJSON) |