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

🔥 random #200

Merged
merged 9 commits into from
Sep 2, 2019
Merged
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
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.