aboutsummaryrefslogtreecommitdiff
path: root/lib/Web/OpenWeatherMap/Types/Forecast.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Web/OpenWeatherMap/Types/Forecast.hs')
-rw-r--r--lib/Web/OpenWeatherMap/Types/Forecast.hs16
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/Web/OpenWeatherMap/Types/Forecast.hs b/lib/Web/OpenWeatherMap/Types/Forecast.hs
index 3434930..b110468 100644
--- a/lib/Web/OpenWeatherMap/Types/Forecast.hs
+++ b/lib/Web/OpenWeatherMap/Types/Forecast.hs
@@ -14,10 +14,12 @@ import Web.OpenWeatherMap.Types.Main (Main)
import Web.OpenWeatherMap.Types.Weather (Weather)
import Web.OpenWeatherMap.Types.Wind (Wind)
-data Forecast = Forecast
- { dt :: Int
- , clouds :: Clouds
- , main :: Main
- , weather :: [Weather]
- , wind :: Wind
- } deriving (Show, Generic, FromJSON)
+data Forecast =
+ Forecast
+ { dt :: Int
+ , clouds :: Clouds
+ , main :: Main
+ , weather :: [Weather]
+ , wind :: Wind
+ }
+ deriving (Show, Generic, FromJSON)