8a2d1988d3
I think I've been looking for that function for some time. Ie, I remember wanting to collapse Just Nothing to Nothing.
33 lines
907 B
Haskell
33 lines
907 B
Haskell
{-# LANGUAGE PackageImports #-}
|
|
|
|
module Common (module X) where
|
|
|
|
import Control.Monad as X
|
|
import Control.Monad.IfElse as X
|
|
import Control.Applicative as X
|
|
import "mtl" Control.Monad.State.Strict as X (liftIO)
|
|
import Control.Exception.Extensible as X (IOException)
|
|
|
|
import Data.Maybe as X
|
|
import Data.List as X hiding (head, tail, init, last)
|
|
import Data.String.Utils as X hiding (join)
|
|
|
|
import "MissingH" System.Path as X
|
|
import System.FilePath as X
|
|
import System.Directory as X
|
|
import System.IO as X hiding (FilePath)
|
|
import System.Posix.Files as X
|
|
import System.Posix.IO as X
|
|
import System.Exit as X
|
|
|
|
import Utility.Misc as X
|
|
import Utility.Exception as X
|
|
import Utility.SafeCommand as X
|
|
import Utility.Process as X
|
|
import Utility.Path as X
|
|
import Utility.Directory as X
|
|
import Utility.Monad as X
|
|
import Utility.Applicative as X
|
|
import Utility.FileSystemEncoding as X
|
|
|
|
import Utility.PartialPrelude as X
|