mtl-misc-yj (empty) → 0.1.0.1
raw patch · 7 files changed
+109/−0 lines, 7 filesdep +basedep +mtldep +try-monads-tf-misc-yjsetup-changed
Dependencies added: base, mtl, try-monads-tf-misc-yj
Files
- CHANGELOG.md +11/−0
- LICENSE +30/−0
- README.md +3/−0
- Setup.hs +2/−0
- mtl-misc-yj.cabal +53/−0
- src/Control/Monad/Cont/MiscYj.hs +8/−0
- test/Spec.hs +2/−0
+ CHANGELOG.md view
@@ -0,0 +1,11 @@+# Changelog for `try-monads-tf-misc-yj`++All notable changes to this project will be documented in this file.++The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),+and this project adheres to the+[Haskell Package Versioning Policy](https://pvp.haskell.org/).++## Unreleased++## 0.1.0.0 - YYYY-MM-DD
+ LICENSE view
@@ -0,0 +1,30 @@+Copyright Author name here (c) 2023++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++ * Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ * Redistributions in binary form must reproduce the above+ copyright notice, this list of conditions and the following+ disclaimer in the documentation and/or other materials provided+ with the distribution.++ * Neither the name of Author name here nor the names of other+ contributors may be used to endorse or promote products derived+ from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 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.
+ README.md view
@@ -0,0 +1,3 @@+# mtl-misc-yj++tribial tools about mtl
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ mtl-misc-yj.cabal view
@@ -0,0 +1,53 @@+cabal-version: 1.12++-- This file has been generated from package.yaml by hpack version 0.37.0.+--+-- see: https://github.com/sol/hpack++name: mtl-misc-yj+version: 0.1.0.1+synopsis: tribial tools about mtl+description: Please see the README on GitHub at <https://github.com/YoshikuniJujo/test_haskell/tree/master/themes/monad/mtl-misc-yj#readme>+category: Control+homepage: https://github.com/YoshikuniJujo/mtl-misc-yj#readme+bug-reports: https://github.com/YoshikuniJujo/mtl-misc-yj/issues+author: Author name here+maintainer: example@example.com+copyright: 2023 Author name here+license: BSD3+license-file: LICENSE+build-type: Simple+extra-source-files:+ README.md+ CHANGELOG.md++source-repository head+ type: git+ location: https://github.com/YoshikuniJujo/mtl-misc-yj++library+ exposed-modules:+ Control.Monad.Cont.MiscYj+ other-modules:+ Paths_mtl_misc_yj+ hs-source-dirs:+ src+ ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints+ build-depends:+ base >=4.7 && <5+ , mtl <3+ default-language: Haskell2010++test-suite try-monads-tf-misc-yj-test+ type: exitcode-stdio-1.0+ main-is: Spec.hs+ other-modules:+ Paths_mtl_misc_yj+ hs-source-dirs:+ test+ ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N+ build-depends:+ base >=4.7 && <5+ , mtl <3+ , try-monads-tf-misc-yj+ default-language: Haskell2010
+ src/Control/Monad/Cont/MiscYj.hs view
@@ -0,0 +1,8 @@+{-# LANGUAGE BlockArguments #-}++module Control.Monad.Cont.MiscYj where++import Control.Monad.Cont++mapContM :: (a -> (b -> m c) -> m c) -> [a] -> ([b] -> m c) -> m c+mapContM f = runContT . mapM (ContT . f)
+ test/Spec.hs view
@@ -0,0 +1,2 @@+main :: IO ()+main = putStrLn "Test suite not yet implemented"