protolude-lifted (empty) → 0.1.0.0
raw patch · 7 files changed
+200/−0 lines, 7 filesdep +basedep +lifted-asyncdep +lifted-basesetup-changed
Dependencies added: base, lifted-async, lifted-base, protolude
Files
- LICENSE +30/−0
- README.md +3/−0
- Setup.hs +2/−0
- protolude-lifted.cabal +31/−0
- src/Protolude.hs +7/−0
- src/Protolude/Lifted.hs +120/−0
- src/Unsafe.hs +7/−0
+ LICENSE view
@@ -0,0 +1,30 @@+Copyright Author name here (c) 2016++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 @@+# protolude-lifted++add description of protolude-lifted here
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ protolude-lifted.cabal view
@@ -0,0 +1,31 @@+name: protolude-lifted+version: 0.1.0.0+synopsis: Protolude with lifted-base and lifted-async.+description: Protolude with lifted-base and lifted-async.+homepage: https://github.com/pbogdan/protolude-lifted+license: BSD3+license-file: LICENSE+author: Piotr Bogdan+maintainer: ppbogdan@gmail.com+copyright: 2016 Piotr Bogdan+category: Prelude+build-type: Simple+extra-source-files: README.md+cabal-version: >=1.10++library+ hs-source-dirs: src+ ghc-options: -Wall+ exposed-modules: Protolude+ , Protolude.Lifted+ , Unsafe+ build-depends: base >= 4.7 && < 5+ , protolude >= 0.1.6 && < 0.2+ , lifted-base >=0.2.3.8 && <0.3+ , lifted-async >=0.9.0 && <0.10+ default-language: Haskell2010+ default-extensions: OverloadedStrings, NoImplicitPrelude++source-repository head+ type: git+ location: https://github.com/pbogdan/protolude-lifted
+ src/Protolude.hs view
@@ -0,0 +1,7 @@+{-# LANGUAGE PackageImports #-}+module Protolude+ (module X)++where++import "protolude" Protolude as X
+ src/Protolude/Lifted.hs view
@@ -0,0 +1,120 @@+module Protolude.Lifted+ ( module X+ ) where++import Protolude as X hiding (+ -- lifted base+ forkFinally+ , forkOS+ , isCurrentThreadBound+ , runInBoundThread+ , runInUnboundThread+ , threadWaitRead+ , threadWaitWrite+ , dupChan+ , getChanContents+ , newChan+ , readChan+ , writeChan+ , writeList2Chan+ , mkWeakMVar+ , modifyMVar+ , modifyMVarMasked+ , modifyMVarMasked_+ , modifyMVar_+ , swapMVar+ , withMVar+ , withMVarMasked+ , newQSem+ , signalQSem+ , waitQSem+ , newQSemN+ , signalQSemN+ , waitQSemN+ , allowInterrupt+ , catches+ , bracket+ , bracketOnError+ , bracket_+ , catch+ , catchJust+ , finally+ , handle+ , handleJust+ , onException+ , try+ , tryJust+ , threadDelay+ , forkOn+ , forkOnWithUnmask+ , getNumCapabilities+ , killThread+ , mkWeakThreadId+ , myThreadId+ , setNumCapabilities+ , threadCapability+ , evaluate+ , getMaskingState+ , mask+ , mask_+ , uninterruptibleMask+ , uninterruptibleMask_+ , ioError+ , isEmptyMVar+ , newEmptyMVar+ , newMVar+ , putMVar+ , readMVar+ , takeMVar+ , tryPutMVar+ , tryReadMVar+ , tryTakeMVar+ , throwIO+ , throwTo+ -- lifted async+ , Concurrently(..)+ , async+ , runConcurrently+ , asyncBound+ , asyncOn+ , asyncOnWithUnmask+ , asyncWithUnmask+ , cancel+ , cancelWith+ , concurrently+ , forConcurrently+ , link+ , link2+ , mapConcurrently+ , poll+ , race+ , race_+ , wait+ , waitAny+ , waitAnyCancel+ , waitAnyCatch+ , waitAnyCatchCancel+ , waitBoth+ , waitCatch+ , waitEither+ , waitEitherCancel+ , waitEitherCatch+ , waitEitherCatchCancel+ , waitEither_+ , withAsync+ , withAsyncBound+ , withAsyncOn+ , withAsyncOnWithUnmask+ , withAsyncWithUnmask+ )++import Control.Concurrent.Async.Lifted as X+import Control.Concurrent.Chan.Lifted as X+import Control.Concurrent.Lifted as X+import Control.Concurrent.MVar.Lifted as X+import Control.Concurrent.QSem.Lifted as X+import Control.Concurrent.QSemN.Lifted as X+import Control.Exception.Lifted as X+import Data.IORef.Lifted as X+import Foreign.Marshal.Utils.Lifted as X+import System.Timeout.Lifted as X
+ src/Unsafe.hs view
@@ -0,0 +1,7 @@+{-# LANGUAGE PackageImports #-}+module Unsafe+ (module X)++where++import "protolude" Unsafe as X