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/CurrentWeather.hs | |
parent | 24b77b7b78573e50cc8edb94bf1b893e0a40208c (diff) | |
download | openweathermap-9cfef7b14ac5af7109449b54b1cb352b4c76167a.tar.gz |
Reformat with hindent
Diffstat (limited to 'lib/Web/OpenWeatherMap/Types/CurrentWeather.hs')
-rw-r--r-- | lib/Web/OpenWeatherMap/Types/CurrentWeather.hs | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/lib/Web/OpenWeatherMap/Types/CurrentWeather.hs b/lib/Web/OpenWeatherMap/Types/CurrentWeather.hs index e7d4464..02d3371 100644 --- a/lib/Web/OpenWeatherMap/Types/CurrentWeather.hs +++ b/lib/Web/OpenWeatherMap/Types/CurrentWeather.hs @@ -19,16 +19,18 @@ import Web.OpenWeatherMap.Types.Wind (Wind) -- | Response to requests for current weather. -- Refer to <https://openweathermap.org/current>. -data CurrentWeather = CurrentWeather - { coord :: Coord - , weather :: [Weather] - , base :: String - , main :: Main - , wind :: Wind - , clouds :: Clouds - , dt :: Int - , sys :: Sys - , id :: Int - , name :: String - , cod :: Int - } deriving (Show, Generic, FromJSON) +data CurrentWeather = + CurrentWeather + { coord :: Coord + , weather :: [Weather] + , base :: String + , main :: Main + , wind :: Wind + , clouds :: Clouds + , dt :: Int + , sys :: Sys + , id :: Int + , name :: String + , cod :: Int + } + deriving (Show, Generic, FromJSON) |