Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHC 9.2 support #272

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,6 @@ jobs:
steps:
- uses: actions/checkout@v2

# see https://github.com/actions/cache/issues/403
- name: Work around actions/cache bug
if: matrix.os == 'macos-latest'
run: |
brew update && brew install gnu-tar
echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV

- uses: actions/cache@v2
name: Cache Stack Artifacts
with:
path: |
~/.stack
~/.local/bin
.stack-work
key: ${{ runner.os }}-stack-${{ hashFiles(matrix.stack_yaml) }}-6

- uses: haskell/actions/setup@v1
id: setup-haskell-stack
name: Setup Stack
Expand Down
1 change: 0 additions & 1 deletion src/Control/Monad/Trans/OptionParser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ instance (Functor m, Monad m) => Applicative (OptionParserT o m) where
OptionParserT mf <*> OptionParserT mx = OptionParserT (mf <*> mx)

instance Monad m => Monad (OptionParserT o m) where
return = OptionParserT . return
OptionParserT mx >>= f = OptionParserT (mx >>= f')
where
f' = unOptionParserT . f
Expand Down
1 change: 0 additions & 1 deletion src/Control/Monad/Trans/Uncertain.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ instance (Functor m, Monad m) => Applicative (UncertainT m) where
UncertainT mf <*> UncertainT mx = UncertainT (mf <*> mx)

instance Monad m => Monad (UncertainT m) where
return = UncertainT . return
UncertainT mx >>= f = UncertainT (mx >>= f')
where
f' = unUncertainT . f
Expand Down
1 change: 1 addition & 0 deletions src/Data/HaskellExpr.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-- | A String-based representation of simple Haskell expressions, typed via phantom types.
{-# LANGUAGE NoPolyKinds #-}
module Data.HaskellExpr where

import Text.Printf
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-17.15
resolver: nightly-2022-03-30
packages:
- .
extra-deps: []