Skip to content

Commit

Permalink
Merge pull request #66 from reflex-frp/ners/monadhold
Browse files Browse the repository at this point in the history
Add MonadFix and MonadHold instances
  • Loading branch information
ali-abrar authored Mar 21, 2023
2 parents 0bc0d43 + f25195d commit 149cecd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
strategy:
matrix:
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.4.3']
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.4.4']
os: ['ubuntu-latest', 'macos-latest']
runs-on: ${{ matrix.os }}

Expand Down
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Revision history for reflex-vty

## 0.4.1.0

* Loosen version bounds and support GHC 9.4.4
* Add `MonadHold t (Performable m)` and `MonadFix (Performable m)` instances to `MonadVtyApp`

## 0.4.0.0

* _Breaking Changes_:
Expand Down
8 changes: 4 additions & 4 deletions reflex-vty.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: reflex-vty
version: 0.4.0.0
version: 0.4.1.0
synopsis: Reflex FRP host and widgets for VTY applications
description:
Build terminal applications using functional reactive programming (FRP) with Reflex FRP (<https://reflex-frp.org>).
Expand All @@ -18,7 +18,7 @@ extra-source-files:
ChangeLog.md
extra-doc-files: doc/tasks.png
tested-with:
GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.4.3
GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.4.4

source-repository head
type: git
Expand All @@ -40,7 +40,7 @@ library
, Control.Monad.NodeId
build-depends:
base >= 4.10.0 && < 4.18,
bimap >= 0.3.3 && < 0.5,
bimap >= 0.3.3 && < 0.6,
containers >= 0.5.0 && < 0.7,
mtl >= 2.2.2 && < 2.3,
transformers >= 0.5.5 && < 0.6,
Expand All @@ -50,7 +50,7 @@ library
text >= 1.2.3 && < 2.1,
dependent-sum >= 0.7 && < 0.8,
exception-transformers >= 0.4.0 && < 0.5,
mmorph >= 1.1 && < 1.2,
mmorph >= 1.1 && < 1.3,
ordered-containers >= 0.2.2 && < 0.3,
primitive >= 0.6.3 && < 0.8,
ref-tf >= 0.4.0 && < 0.6,
Expand Down
2 changes: 2 additions & 0 deletions src/Reflex/Vty/Host.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ data VtyResult t = VtyResult
type MonadVtyApp t m =
( Reflex t
, MonadHold t m
, MonadHold t (Performable m)
, MonadFix m
, MonadFix (Performable m)
, PrimMonad (HostFrame t)
, ReflexHost t
, MonadIO (HostFrame t)
Expand Down

0 comments on commit 149cecd

Please sign in to comment.