Bump base version restrictions
authorEvgenii Akentev <i@ak3n.com>
Sat, 28 Jan 2023 09:57:10 +0000 (12:57 +0300)
committerEvgenii Akentev <i@ak3n.com>
Sat, 28 Jan 2023 09:57:10 +0000 (12:57 +0300)
backpack-handle/backpack-handle.cabal
backpack-handles/backpack-handles.cabal
records-handle/records-handle.cabal
row-handle/domain/WeatherProvider.hs
simple-handle/simple-handle.cabal
simple/simple.cabal

index 3bf756bbfa9376719948c8055e5e24bd91c12921..843c616aa34779a11e2c5fa878c9db49ee9f1e51 100644 (file)
@@ -30,7 +30,7 @@ library test-impl
 
 executable main
   main-is:             Main.hs
-  build-depends:       base >=4.13 && <4.14
+  build-depends:       base >=4.13 && <5
                      , impl
                      , domain
   default-language:    Haskell2010
index 6cfe4f87359e2bf02fff72cfea75d2669818b7e1..0f051fc66333c7795798f94b8b161912ce3baea8 100644 (file)
@@ -42,7 +42,7 @@ library test-provider
 
 executable main
   main-is:             Main.hs
-  build-depends:       base >=4.13 && <4.14
+  build-depends:       base >=4.13 && <5
                      , impl-provider
                      , impl-reporter
                      , domain-reporter
index 1540e7e2170bda3dfacae6bde74a086292b56805..05e488f3fe42ef286a5b39d2cbbfbef6adccf0eb 100644 (file)
@@ -30,7 +30,7 @@ library test-impl
 
 executable main
   main-is:             Main.hs
-  build-depends:       base >=4.13 && <4.14
+  build-depends:       base >=4.13 && <5
                      , domain
                      , impl
   default-language:    Haskell2010
index 0a89ce9d0632d9a94d97403acf3d071906a28d91..a767a0c3a86cc663268d62cbccf5e548723b3d8f 100644 (file)
@@ -7,14 +7,16 @@ module WeatherProvider where
 
 import Data.Row
 import HandleRow
-import qualified WindProvider as W
-import qualified TemperatureProvider as T
+import qualified WindProvider
+import qualified TemperatureProvider
 import QueryTypes
 
 data WeatherData = WeatherData { temperature :: T.Temperature, wind :: W.WindSpeed }
 
 -- We union the methods of providers and extend it with a common method.
-type Methods = "getWeatherData" .== (Location -> Day -> IO WeatherData) .+ W.Methods .+ T.Methods
+type Methods = ("getWeatherData" .== (Location -> Day -> IO WeatherData))
+  .+ WindProvider.Methods
+  .+ TemperatureProvider.Methods
 
 type Handle = HandleRow Methods
 
index 94b079b295d8fd835ac47fa40fb4ac3a92ac4969..26e9079d180f7732c0e81c9b2bb12fd5692efa42 100644 (file)
@@ -16,6 +16,6 @@ library domain
 
 executable main
   main-is:             Main.hs
-  build-depends:       base >=4.13 && <4.14
+  build-depends:       base >=4.13 && <5
                      , domain
   default-language:    Haskell2010
index 3e84dad2642a14e64ba598208cdbb039209eacee..a2388b031fd1487e540b381dfbbf49b663300ded 100644 (file)
@@ -16,6 +16,6 @@ library domain
 
 executable main
   main-is:             Main.hs
-  build-depends:       base >=4.13 && <4.14
+  build-depends:       base >=4.13 && <5
                      , domain
   default-language:    Haskell2010