diff options
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) |