polysemy-zoo

Experimental, user-contributed effects and interpreters for polysemy https://github.com/isovector/polysemy-zoo#readme

Version on this page:0.4.0.0
Stackage Nightly 2019-07-19:0.4.0.1
Latest on Hackage:0.4.0.1

See all snapshots polysemy-zoo appears in

BSD-3-Clause licensed by Sandy Maguire
Maintained by sandy@sandymaguire.me

Module documentation for 0.4.0.0

This version can be pinned in stack with:polysemy-zoo-0.4.0.0@sha256:c950d7971b75c557626540cf638313ade3ce3dc105347884d181b19add074862,3403
  • Polysemy
    • Polysemy.Alias
    • Polysemy.ConstraintAbsorber
      • Polysemy.ConstraintAbsorber.MonadError
      • Polysemy.ConstraintAbsorber.MonadReader
      • Polysemy.ConstraintAbsorber.MonadState
      • Polysemy.ConstraintAbsorber.MonadWriter
    • Polysemy.Final
      • Polysemy.Final.Async
      • Polysemy.Final.Error
      • Polysemy.Final.Fixpoint
      • Polysemy.Final.MTL
      • Polysemy.Final.Resource
    • Polysemy.Floodgate
    • Polysemy.IdempotentLowering
    • Polysemy.KVStore
    • Polysemy.Operators
    • Polysemy.Random
    • Polysemy.Redis
      • Polysemy.Redis.Utils
    • Polysemy.SetStore
    • Polysemy.Several

polysemy-zoo

Build Status Hackage

Dedication

Once I was chased by the king of all scorpions.

Rachel Hunter

Overview

The polysemy-zoo is an experimental repository for user-contributed additions to the polysemy ecosystem. You’re encouraged to open Pull Requests here for any effects/interpretations that you write and think might be useful for others.

Particularly successful contributions here will be migrated into either polysemy proper, or polysemy-contrib (the less experimental version of the zoo.)

Polysemy in the Wild

The Zoo isn’t the only place to find great user-contributions to polysemy! Here is a curated list of other great effects and interops:

Changes

Changelog for polysemy-zoo

0.4.0.0 (2019-07-10)

Breaking Changes

  • The semantics of absorbWriter are now aligned with the MTL implementation

New Effects and Interpreters

  • Added SetStore effect
  • Added Floodgate effect
  • Added lookupOrThrowKV, existsKV and modifyKV actions to KVStore
  • Added Redis interpretations of SetStore and KVStore

0.3.0.0 (2019-06-17)

  • Removed Polysemy.MTL
  • The machinery for MTL absorption is now monomorphized in Polysemy.ConstraintAbsorber. See the documentation there and in submodules for more information.

0.2.0.0 (2019-06-14)

  • Removed Polysemy.RandomFu, which is moving to its own package
  • Add explicit cabal bounds for dependencies of polysemy-zoo

0.1.2.1 (2019-06-12)

  • Update the tests to run against polysemy-0.4.0.0

0.1.2.0 (2019-06-01)

  • Added Polysemy.MTL for inter-op with MTL (thanks to @adamConnerSax)
  • Moved Polysemy.Random from polysemy
  • Added Polysemy.RandomFu (thanks to @adamConnerSax)
  • Added fixedNat and fixedNat' to Polysemy.IdempotentLowering for working with higher-order effects.

0.1.1.0 (2019-05-22)

  • Added Polysemy.IdempotentLowering

Unreleased changes

  • In AbsorbMonadWriter, re-implemented mtl pass in terms of the new Polysemy.Writer pass and confirmed all tests.
comments powered byDisqus