on master help sign in
Revert "Add SIMonadTrans."

This reverts commit 68eee5e258571a7c953916272841c3defa1b0ac4.

commitfaf5e0b5dfd6ea550bae65a70969f61ebd81a9f4 authorPaweł Nowak <pawel834@gmail.com> dateSat 29 Nov 2014, 17:58 (12 years ago) parent68eee5e
2 files changed−24
Control/SemiIso/Trans.hs−23 semi-iso.cabal−1
Control/SemiIso/Trans.hsdeleted−23
@@ -1,23 +0,0 @@
1−{- |
2−Module : Control.SemiIso.Trans
3−Description : SemiIsoMonad transformers.
4−Copyright : (c) Paweł Nowak
5−License : MIT
6−
7−Maintainer : Paweł Nowak <pawel834@gmail.com>
8−Stability : experimental
9−
10−Monad transformers for the SemiIso hierarchy.
11−-}
12−module Control.SemiIso.Trans where
13−
14−import Data.SemiIsoFunctor
15−
16−-- | Monad transformer. Should satisfy laws:
17−--
18−-- prop> silift . sipure = sipure
19−--
20−-- prop> silift (m //= f) = silift m //= (silift . f)
21−class SIMonadTrans t where
22− -- | Lifts a computation from the base monad.
23− silift :: SemiIsoMonad m => m a -> t m a
semi-iso.cabal−1
@@ -22,7 +22,6 @@ source-repository head
2222library
2323 exposed-modules: Control.Lens.SemiIso
2424 Control.Lens.Internal.SemiIso
25− Control.SemiIso.Trans
2625 Data.SemiIsoFunctor
2726 Data.Profunctor.Exposed
2827 build-depends: base >= 4 && < 5, profunctors, transformers, lens, tuple-morph