Skip to content

Commit

Permalink
Merge pull request #200 from fused-effects/🔥-random
Browse files Browse the repository at this point in the history
🔥 random
  • Loading branch information
robrix committed Sep 2, 2019
2 parents d5675d2 + c87e2da commit 8a82b66
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 115 deletions.
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Backwards-incompatible changes

- Improves the performance of `runInterpret` using reflection, changing its signature slightly ([#193](https://github.com/fused-effects/fused-effects/pull/193), h/t [@ocharles](https://github.com/ocharles)).

- Removes `Control.Effect.Random` (and the dependencies on `random` & `MonadRandom`) in favour of a new [`fused-effects-random` package](https://github.com/fused-effects/fused-effects-random) ([#200](https://github.com/fused-effects/fused-effects/pull/200)).

# v0.5.0.1

- Adds support for ghc 8.8.1.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,11 @@ Though we aim to keep the `fused-effects` core minimal, we encourage the develop

* [`fused-effects-lens`][felens] provides combinators to use the [`lens`][lens] library fluently inside effectful computations.
* [`fused-effects-exceptions`][exc] provides handlers for exceptions thrown in the `IO` monad.
* [`fused-effects-random`][] provides a `Random` effect integrated into a `fused-effects` stack.

[exc]: https://github.com/fused-effects/fused-effects-exceptions
[felens]: http://hackage.haskell.org/package/fused-effects-lens
[`fused-effects-random`]: https://github.com/fused-effects/fused-effects-random
[lens]: http://hackage.haskell.org/package/lens

### Comparison to `mtl`
Expand Down
3 changes: 0 additions & 3 deletions fused-effects.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ library
, Control.Effect.Lift
, Control.Effect.NonDet
, Control.Effect.Pure
, Control.Effect.Random
, Control.Effect.Reader
, Control.Effect.Resource
, Control.Effect.Resumable
Expand All @@ -56,9 +55,7 @@ library
, Control.Effect.Writer
build-depends: base >= 4.9 && < 4.14
, deepseq ^>= 1.4.3
, MonadRandom ^>= 0.5
, unliftio-core ^>= 0.1.2
, random
, transformers
hs-source-dirs: src

Expand Down
1 change: 0 additions & 1 deletion src/Control/Effect.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import Control.Effect.Fresh as X (Fresh, FreshC)
import Control.Effect.Lift as X (Lift, LiftC, runM)
import Control.Effect.NonDet as X (NonDet, NonDetC)
import Control.Effect.Pure as X (Pure, PureC, run)
import Control.Effect.Random as X (Random, RandomC)
import Control.Effect.Reader as X (Reader, ReaderC)
import Control.Effect.Resource as X (Resource, ResourceC)
import Control.Effect.Resumable as X (Resumable, ResumableC, ResumableWithC)
Expand Down
111 changes: 0 additions & 111 deletions src/Control/Effect/Random.hs

This file was deleted.

0 comments on commit 8a82b66

Please sign in to comment.