Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
- name: cache (tools)
uses: actions/cache/restore@v5
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-a943d659
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-98456d37
path: ~/.haskell-ci-tools
- name: install cabal-plan
run: |
Expand All @@ -161,13 +161,13 @@ jobs:
cabal-plan --version
- name: install doctest
run: |
if [ $((HCNUMVER < 91200)) -ne 0 ] ; then $CABAL --store-dir=$HOME/.haskell-ci-tools/store v2-install $ARG_COMPILER --ignore-project doctest --constraint='doctest ^>=0.25.0' ; fi
if [ $((HCNUMVER < 91200)) -ne 0 ] ; then doctest --version ; fi
if [ $((HCNUMVER < 91200 || HCNUMVER >= 91400)) -ne 0 ] ; then $CABAL --store-dir=$HOME/.haskell-ci-tools/store v2-install $ARG_COMPILER --ignore-project doctest --constraint='doctest ^>=0.25.0' ; fi
if [ $((HCNUMVER < 91200 || HCNUMVER >= 91400)) -ne 0 ] ; then doctest --version ; fi
- name: save cache (tools)
if: always()
uses: actions/cache/save@v5
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-a943d659
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-98456d37
path: ~/.haskell-ci-tools
- name: checkout
uses: actions/checkout@v7
Expand Down Expand Up @@ -284,12 +284,12 @@ jobs:
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=direct
- name: doctest
run: |
if [ $((HCNUMVER < 91200)) -ne 0 ] ; then cd ${PKGDIR_effectful_core} || false ; fi
if [ $((HCNUMVER < 91200)) -ne 0 ] ; then doctest -XGHC2021 -XDataKinds -XDeepSubsumption -XDerivingStrategies -XDuplicateRecordFields -XLambdaCase -XNoFieldSelectors -XNoStarIsType -XOverloadedRecordDot -XRoleAnnotations -XTypeFamilies -XUndecidableInstances src ; fi
if [ $((HCNUMVER < 91200)) -ne 0 ] ; then cd ${PKGDIR_effectful_th} || false ; fi
if [ $((HCNUMVER < 91200)) -ne 0 ] ; then doctest -XGHC2021 -XDataKinds -XDeepSubsumption -XDerivingStrategies -XDuplicateRecordFields -XLambdaCase -XNoFieldSelectors -XNoStarIsType -XOverloadedRecordDot -XRoleAnnotations -XTypeFamilies -XUndecidableInstances src ; fi
if [ $((HCNUMVER < 91200)) -ne 0 ] ; then cd ${PKGDIR_effectful} || false ; fi
if [ $((HCNUMVER < 91200)) -ne 0 ] ; then doctest -XGHC2021 -XDataKinds -XDeepSubsumption -XDerivingStrategies -XDuplicateRecordFields -XLambdaCase -XNoFieldSelectors -XNoStarIsType -XOverloadedRecordDot -XRoleAnnotations -XTypeFamilies -XUndecidableInstances src ; fi
if [ $((HCNUMVER < 91200 || HCNUMVER >= 91400)) -ne 0 ] ; then cd ${PKGDIR_effectful_core} || false ; fi
if [ $((HCNUMVER < 91200 || HCNUMVER >= 91400)) -ne 0 ] ; then doctest -XGHC2021 -XDataKinds -XDeepSubsumption -XDerivingStrategies -XDuplicateRecordFields -XLambdaCase -XNoFieldSelectors -XNoStarIsType -XOverloadedRecordDot -XRoleAnnotations -XTypeFamilies -XUndecidableInstances src ; fi
if [ $((HCNUMVER < 91200 || HCNUMVER >= 91400)) -ne 0 ] ; then cd ${PKGDIR_effectful_th} || false ; fi
if [ $((HCNUMVER < 91200 || HCNUMVER >= 91400)) -ne 0 ] ; then doctest -XGHC2021 -XDataKinds -XDeepSubsumption -XDerivingStrategies -XDuplicateRecordFields -XLambdaCase -XNoFieldSelectors -XNoStarIsType -XOverloadedRecordDot -XRoleAnnotations -XTypeFamilies -XUndecidableInstances src ; fi
if [ $((HCNUMVER < 91200 || HCNUMVER >= 91400)) -ne 0 ] ; then cd ${PKGDIR_effectful} || false ; fi
if [ $((HCNUMVER < 91200 || HCNUMVER >= 91400)) -ne 0 ] ; then doctest -XGHC2021 -XDataKinds -XDeepSubsumption -XDerivingStrategies -XDuplicateRecordFields -XLambdaCase -XNoFieldSelectors -XNoStarIsType -XOverloadedRecordDot -XRoleAnnotations -XTypeFamilies -XUndecidableInstances src ; fi
- name: cabal check
run: |
cd ${PKGDIR_effectful_core} || false
Expand Down
2 changes: 1 addition & 1 deletion cabal.haskell-ci
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
branches: master

doctest: <9.11
doctest: <9.12 || >=9.14
doctest-skip: effectful-plugin

tests: True
Expand Down
1 change: 1 addition & 0 deletions effectful-core/src/Effectful/Dispatch/Dynamic.hs
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ reinterpretWith runSetup action handler = reinterpretImpl runSetup action $
-- passthrough, called at <interactive>:...
-- handler, called at src/Effectful/Dispatch/Dynamic.hs:...
-- send, called at <interactive>:...
-- ...
interpose
:: (HasCallStack, DispatchOf e ~ Dynamic, e :> es)
=> EffectHandler e es
Expand Down