Skip to content

Commit 149cecd

Browse files
authored
Merge pull request #66 from reflex-frp/ners/monadhold
Add MonadFix and MonadHold instances
2 parents 0bc0d43 + f25195d commit 149cecd

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/haskell.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.4.3']
9+
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.4.4']
1010
os: ['ubuntu-latest', 'macos-latest']
1111
runs-on: ${{ matrix.os }}
1212

ChangeLog.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Revision history for reflex-vty
22

3+
## 0.4.1.0
4+
5+
* Loosen version bounds and support GHC 9.4.4
6+
* Add `MonadHold t (Performable m)` and `MonadFix (Performable m)` instances to `MonadVtyApp`
7+
38
## 0.4.0.0
49

510
* _Breaking Changes_:

reflex-vty.cabal

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: reflex-vty
2-
version: 0.4.0.0
2+
version: 0.4.1.0
33
synopsis: Reflex FRP host and widgets for VTY applications
44
description:
55
Build terminal applications using functional reactive programming (FRP) with Reflex FRP (<https://reflex-frp.org>).
@@ -18,7 +18,7 @@ extra-source-files:
1818
ChangeLog.md
1919
extra-doc-files: doc/tasks.png
2020
tested-with:
21-
GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.4.3
21+
GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.4.4
2222

2323
source-repository head
2424
type: git
@@ -40,7 +40,7 @@ library
4040
, Control.Monad.NodeId
4141
build-depends:
4242
base >= 4.10.0 && < 4.18,
43-
bimap >= 0.3.3 && < 0.5,
43+
bimap >= 0.3.3 && < 0.6,
4444
containers >= 0.5.0 && < 0.7,
4545
mtl >= 2.2.2 && < 2.3,
4646
transformers >= 0.5.5 && < 0.6,
@@ -50,7 +50,7 @@ library
5050
text >= 1.2.3 && < 2.1,
5151
dependent-sum >= 0.7 && < 0.8,
5252
exception-transformers >= 0.4.0 && < 0.5,
53-
mmorph >= 1.1 && < 1.2,
53+
mmorph >= 1.1 && < 1.3,
5454
ordered-containers >= 0.2.2 && < 0.3,
5555
primitive >= 0.6.3 && < 0.8,
5656
ref-tf >= 0.4.0 && < 0.6,

src/Reflex/Vty/Host.hs

+2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ data VtyResult t = VtyResult
4949
type MonadVtyApp t m =
5050
( Reflex t
5151
, MonadHold t m
52+
, MonadHold t (Performable m)
5253
, MonadFix m
54+
, MonadFix (Performable m)
5355
, PrimMonad (HostFrame t)
5456
, ReflexHost t
5557
, MonadIO (HostFrame t)

0 commit comments

Comments
 (0)