From 6e7f27024006a103aeec9afa682dcd1540d2e801 Mon Sep 17 00:00:00 2001 From: Patrick Thomson Date: Mon, 8 Apr 2019 13:14:38 -0400 Subject: [PATCH] Add real version bound. --- README.md | 2 +- fused-effects-exceptions.cabal | 3 +-- stack.yaml | 4 ---- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 21d309b..e636cd1 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,4 @@ This package provides functionality to handle exceptions thrown in the `IO` monad. It delegates to `catch` from `Control.Exception`. An additional `catchSync` primitive is provided to handle the common case of catching only synchronous exceptions. -This implementation was extracted from one originally written by Josh Vera. Please be aware that as of the time of this writing it depends on the current git `HEAD` of [fused-effects](https://github.com/robrix/higher-order-effects). +This implementation was extracted from one originally written by Josh Vera. It requires a version of `fused-effects` later than 0.3. diff --git a/fused-effects-exceptions.cabal b/fused-effects-exceptions.cabal index b03ff0d..32f2e8e 100644 --- a/fused-effects-exceptions.cabal +++ b/fused-effects-exceptions.cabal @@ -18,6 +18,5 @@ library default-language: Haskell2010 exposed-modules: Control.Effect.Catch build-depends: base >= 4.7 && < 5 - -- A proper version constraint will be provided when fused-effects hits 0.3 - , fused-effects + , fused-effects >= 0.3 && <1 , safe-exceptions >= 0.1 && <1 diff --git a/stack.yaml b/stack.yaml index e26390d..76b46c0 100644 --- a/stack.yaml +++ b/stack.yaml @@ -2,7 +2,3 @@ resolver: lts-13.13 packages: - . -- location: - git: https://github.com/fused-effects/fused-effects - commit: 13b3c5f5871b6a637f5de7128865bcd305ba744e - extra-dep: true