Skip to content

Commit 2dcfb12

Browse files
committed
Merge branch 'develop' into extra-query-instances
2 parents 2a0499c + fd38931 commit 2dcfb12

File tree

18 files changed

+69
-49
lines changed

18 files changed

+69
-49
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ matrix:
2929
include:
3030
- compiler: ghcjs-8.4
3131
addons: {"apt":{"sources":["hvr-ghc"],"packages":["cabal-install-3.0"]}}
32+
- compiler: ghc-8.8.1
33+
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.8.1","cabal-install-3.0"]}}
3234
- compiler: ghc-8.6.5
3335
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.6.5","cabal-install-2.4"]}}
3436
- compiler: ghc-8.4.4
@@ -163,7 +165,7 @@ script:
163165
# Constraint set no-th
164166
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='reflex -use-template-haskell' all | color_cabal_output
165167
# Constraint set old-these
166-
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='these <1' all | color_cabal_output
168+
- if $GHCJS || ! $GHCJS && [ $HCNUMVER -lt 80800 ] ; then ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='these <1' all | color_cabal_output ; fi
167169
# Constraint set old-witherable
168170
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='witherable <0.3.2' all | color_cabal_output
169171

ChangeLog.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Revision history for reflex
22

3-
## Unreleased
3+
## 0.6.3
4+
5+
* `Data.WeakBag.traverse` and `Data.FastWeakBag.traverse` have been deprecated.
6+
They are replaced with `Data.WeakBag.traverse_` and `Data.FastWeakBag.traverse_`, respectively.
47

5-
* Data.WeakBag.traverse and Data.FastWeakBag.traverse have been
6-
renamed to Data.WeakBag.traverse_ and Data.FastWeakBag.traverse_
7-
respectively.
8-
98
* Fixes a bug in `Reflex.Patch.MapWithMove.patchThatSortsMapWith` that was producing invalid `PatchMapWithMove`.
109

1110
* Add missing `NotReady` instances:
@@ -42,16 +41,16 @@
4241
* Add incrementalCoercion/coerceIncremental to go with dynamicCoercion/coerceDynamic
4342

4443
* Generalize merging functions:
45-
`merge` to `mergeG`,
46-
`mergeIncremental` to `mergeIncrementalG`,
47-
`mergeIncrementalWithMove` to `mergeIncrementalWithMoveG`.
44+
`merge` to `mergeG`,
45+
`mergeIncremental` to `mergeIncrementalG`,
46+
`mergeIncrementalWithMove` to `mergeIncrementalWithMoveG`.
4847

4948
* Generalize distribute function:
5049
`distributeDMapOverDynPure` to `distributeDMapOverDynPureG`,
5150

5251
## 0.6.2.0
5352

54-
* Fix `holdDyn` so that it is lazy in its event argument
53+
* Fix `holdDyn` so that it is lazy in its event argument
5554
These produce `DMap`s whose values needn't be `Identity`.
5655

5756
* Stop using the now-deprecated `*Tag` classes (e.g., `ShowTag`).

Quickref.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,15 @@ For Events, the returned Event fires whenever the latest Event supplied by the w
198198
The functions mentioned above are used to create a static FRP network.
199199
There are additional typeclasses that can be used to modify the FRP network, to have it interact with IO action, or to introspect the building of the network.
200200

201-
Th typeclasses and their associated annotations include:
201+
The typeclasses and their associated annotations include:
202202

203203
- `PostBuild`
204204
Fire an Event when an FRP network has been set up.
205205
```haskell
206206
[B] -- Function runs in any monad supporting PostBuild
207207
```
208208

209-
- `Adjustable`
209+
- `Adjustable`
210210
Use Events to add or remove pieces of an FRP network.
211211
```haskell
212212
[A] -- Function runs in any monad supporting Adjustable
@@ -271,7 +271,7 @@ Th typeclasses and their associated annotations include:
271271
```haskell
272272
-- Run side-effecting actions in Event when it occurs; returned Event contains
273273
-- results. Side effects run in the (Performable m) monad which is associated with
274-
-- the (PerformEvent t m) typeclass constraint.
274+
-- the (PerformEvent t m) typeclass constraint.
275275
-- This allows for working with IO when a ((MonadIO (Performable m)) constraint is available.
276276
[P] performEvent :: Event (Performable m a ) -> m (Event a)
277277

@@ -295,17 +295,20 @@ Th typeclasses and their associated annotations include:
295295
## Networks
296296

297297
```haskell
298-
-- Functions from Reflex.Network used to deal with Dynamics/Events carrying (m a)
298+
-- Functions from Reflex.Adjustable / Reflex.Network used to deal with Dynamics/Events carrying (m a)
299299

300-
-- Given a Dynamic of network-creating actions, create a network that is recreated whenever the Dynamic updates.
301-
-- The returned Event of network results occurs when the Dynamic does. Note: Often, the type a is an Event,
300+
[A] runWithReplace :: m a -> Event t (m b) -> m (a, Event t b)
301+
302+
-- Given a Dynamic of network-creating actions, create a network that is recreated whenever the Dynamic updates.
303+
-- The returned Event of network results occurs when the Dynamic does. Note: Often, the type a is an Event,
302304
-- in which case the return value is an Event-of-Events that would typically be flattened (via switchHold).
303-
[P,A] networkView :: Dynamic (m a) -> m (Event a)
305+
[P,A] networkView :: Dynamic (m a) -> m (Event a)
304306

305-
-- Given an initial network and an Event of network-creating actions, create a network that is recreated whenever the
306-
-- Event fires. The returned Dynamic of network results occurs when the Event does. Note: Often, the type a is an
307+
-- Given an initial network and an Event of network-creating actions, create a network that is recreated whenever the
308+
-- Event fires. The returned Dynamic of network results occurs when the Event does. Note: Often, the type a is an
307309
-- Event, in which case the return value is a Dynamic-of-Events that would typically be flattened.
308-
[H,A] networkHold :: m a -> Event (m a) -> m (Dynamic a)
310+
[H,A] networkHold :: m a -> Event (m a) -> m (Dynamic a)
309311

310312
-- Render a placeholder network to be shown while another network is not yet done building
311-
[P,A] untilReady :: m a -> m b -> m (a, Event b)
313+
[P,A] untilReady :: m a -> m b -> m (a, Event b)
314+
```

cabal.haskell-ci

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ constraint-set no-th
1010
constraints: reflex -use-template-haskell
1111

1212
constraint-set old-these
13+
ghc: <8.8
1314
constraints: these <1
1415

1516
constraint-set old-witherable

dep/reflex-platform/github.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"owner": "reflex-frp",
33
"repo": "reflex-platform",
4-
"branch": "develop",
5-
"rev": "e7b76dd552a10916c7d8702c11292dac4f4299ea",
6-
"sha256": "0s1183arrwldcs50qhzgnv94v24n9bgq6dfq64wp0a3q2nzyvgwh"
4+
"branch": "master",
5+
"rev": "510b990d0b11f0626afbec5fe8575b5b2395391b",
6+
"sha256": "09cmahsbxr0963wq171c7j139iyzz49hramr4v9nsf684wcwkngv"
77
}

reflex.cabal

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: reflex
2-
Version: 0.6.2.4
2+
Version: 0.6.3
33
Synopsis: Higher-order Functional Reactive Programming
44
Description: Reflex is a high-performance, deterministic, higher-order Functional Reactive Programming system
55
License: BSD3
@@ -18,7 +18,7 @@ extra-source-files:
1818
ChangeLog.md
1919

2020
tested-with:
21-
GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5,
21+
GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1,
2222
GHCJS ==8.4
2323

2424
flag use-reflex-optimizer
@@ -50,28 +50,27 @@ library
5050
hs-source-dirs: src
5151
build-depends:
5252
MemoTrie == 0.6.*,
53-
base >= 4.9 && < 4.13,
53+
base >= 4.9 && < 4.14,
5454
bifunctors >= 5.2 && < 5.6,
5555
comonad >= 5.0.4 && < 5.1,
5656
constraints-extras >= 0.3 && < 0.4,
5757
containers >= 0.6 && < 0.7,
5858
data-default >= 0.5 && < 0.8,
5959
dependent-map >= 0.3 && < 0.4,
6060
exception-transformers == 0.4.*,
61-
profunctors >= 5.3 && < 5.5,
6261
lens >= 4.7 && < 5,
6362
monad-control >= 1.0.1 && < 1.1,
6463
mtl >= 2.1 && < 2.3,
6564
prim-uniq >= 0.1.0.1 && < 0.2,
6665
primitive >= 0.5 && < 0.8,
67-
profunctors,
66+
profunctors >= 5.3 && < 5.6,
6867
random == 1.1.*,
6968
ref-tf == 0.4.*,
7069
reflection == 2.1.*,
7170
semigroupoids >= 4.0 && < 6,
7271
stm >= 2.4 && < 2.6,
7372
syb >= 0.5 && < 0.8,
74-
time >= 1.4 && < 1.9,
73+
time >= 1.4 && < 1.10,
7574
transformers >= 0.5.6.0 && < 0.6,
7675
unbounded-delays >= 0.1.0.0 && < 0.2,
7776
witherable >= 0.3 && < 0.3.2
@@ -151,9 +150,9 @@ library
151150
cpp-options: -DUSE_TEMPLATE_HASKELL
152151
build-depends:
153152
dependent-sum >= 0.6 && < 0.7,
154-
haskell-src-exts >= 1.16 && < 1.22,
153+
haskell-src-exts >= 1.16 && < 1.23,
155154
haskell-src-meta >= 0.6 && < 0.9,
156-
template-haskell >= 2.9 && < 2.15
155+
template-haskell >= 2.9 && < 2.16
157156
exposed-modules:
158157
Reflex.Dynamic.TH
159158
other-extensions: TemplateHaskell

release.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ let
3434
"release.nix"
3535
".git"
3636
"dist"
37+
"cabal.haskell-ci"
38+
"cabal.project"
39+
".travis.yml"
3740
])) ./.;
3841
};
3942
})

src/Control/Monad/ReaderIO.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ instance Applicative (ReaderIO e) where
3737
#if MIN_VERSION_base(4,10,0)
3838
liftA2 = liftM2
3939
{-# INLINE liftA2 #-}
40-
#endif
40+
#endif
4141
(*>) = (>>)
4242
{-# INLINE (*>) #-}
4343

src/Data/AppendMap.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Data.AppendMap
2020
, module Data.Map.Monoidal
2121
) where
2222

23-
import Prelude hiding (map, null)
23+
import Prelude hiding (null)
2424

2525
import Data.Coerce
2626
import Data.Default

src/Data/Functor/Misc.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ import Data.Map (Map)
5353
import qualified Data.Map as Map
5454
import Data.Some (Some(Some))
5555
import Data.These
56+
import Data.Type.Equality ((:~:)(Refl))
5657
import Data.Typeable hiding (Refl)
5758

5859
--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)