Closed sandydoo closed 1 year ago
Fixed typos and missing imports.
Switched around the conditional compilation branches. MIN_VERSION is true when the version is greater than or equal to the one specified.
MIN_VERSION
Switched to newPool for all versions of resource-pool >= 0.3.0.0.
newPool
resource-pool >= 0.3.0.0
Verified withcabal build --constraint "resource-pool >=0.2 && < 0.3" and cabal build --constraint "resource-pool >= 0.4".
cabal build --constraint "resource-pool >=0.2 && < 0.3"
cabal build --constraint "resource-pool >= 0.4"
Thanks for the fix!
Fixed typos and missing imports.
Switched around the conditional compilation branches.
MIN_VERSION
is true when the version is greater than or equal to the one specified.Switched to
newPool
for all versions ofresource-pool >= 0.3.0.0
.Verified with
cabal build --constraint "resource-pool >=0.2 && < 0.3"
andcabal build --constraint "resource-pool >= 0.4"
.