MonadPrompt 1.0.0.4 → 1.0.0.5
raw patch · 3 files changed
+6/−4 lines, 3 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Control.Monad.Prompt: runPromptTM :: Monad n => (forall a. p a -> n a) -> (forall a. m a -> n a) -> PromptT p m r -> n r
+ Control.Monad.Prompt: runPromptTM' :: Monad m => (forall a. p a -> m a) -> PromptT p m r -> m r
Files
- Control/Monad/Prompt.hs +3/−1
- LICENSE +2/−2
- MonadPrompt.cabal +1/−1
Control/Monad/Prompt.hs view
@@ -28,6 +28,8 @@ runRecPromptM, PromptT, runPromptT,+ runPromptTM,+ runPromptTM', Lift(..), unPromptT, liftP,@@ -237,7 +239,7 @@ -> n r -- ^ resulting interpretation runPromptTM prm lft = runPromptT return (\p k -> prm p >>= k) (\l k -> lft l >>= k) -{- | 'runPromptTM\'' specialises runPromptTM further for the case that you're interpreting to the base monad by supplying the identity function as the interpretation+{- | 'runPromptTM'' specialises runPromptTM further for the case that you're interpreting to the base monad by supplying the identity function as the interpretation for lifted computations -} runPromptTM' :: forall p m r. (Monad m) => (forall a. p a -> m a) -- ^ interpretation for prompts
LICENSE view
@@ -1,4 +1,4 @@-* Copyright (c) 2008, Ryan Ingram & Bertram Felgenhauer +* Copyright (c) 2008, Ryan Ingram & Bertram Felgenhauer & Cale Gibbard * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -21,4 +21,4 @@ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.+* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
MonadPrompt.cabal view
@@ -1,5 +1,5 @@ name: MonadPrompt -version: 1.0.0.4 +version: 1.0.0.5 cabal-version: >= 1.2 build-type: Simple