packages feed

mmsyn3 0.1.1.0 → 0.1.1.1

raw patch · 3 files changed

+8/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -7,3 +7,7 @@ ## 0.1.1.0 -- 2019-10-18  * First version revised A. Changed usage of errors to Maybe inside IO monad.++## 0.1.1.1 -- 2019-10-18++* First version revised B. Some minor changes to the documentation and .cabal file.
EndOfExe.hs view
@@ -4,8 +4,8 @@ import Data.Maybe (isJust) import System.IO.Unsafe (unsafePerformIO) --- | Function that is used instead of System.Info.os to check whether the executable ends in .exe. The function returns IO Nothing if there is neither ys nor (ys ++ ".exe") names for executables in the --- variable PATH+-- | Function that is used instead of 'System.Info.os' to check whether the executable ends in .exe. The function returns @IO Nothing@ if there is neither @ys@ nor @(ys ++ ".exe")@ names for executables in the +-- variable @PATH@ endOfExecutable :: String -> IO (Maybe String) endOfExecutable ys = do                        xs <- D.findExecutable ys@@ -17,7 +17,7 @@                                   then return $ fmap (ys ++) (Just ".exe")                                   else error ("Please, install the executable " ++ ys ++ " into the directory in the PATH variable!")                                   --- | Function that is used to concat the endOfExecutable to the name of the program. You can use showE \"nameOfExecutable\" e. g. inside the System.Process.callCommand as the name of the executable+-- | Function that is used to concat the 'endOfExecutable' to the name of the program. You can use showE \"nameOfExecutable\" e. g. inside the 'System.Process.callCommand' as the name of the executable showE :: String -> Maybe String showE xs | null xs = error "No executable specified!"          | otherwise = let r = unsafePerformIO . endOfExecutable $ xs in 
mmsyn3.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                mmsyn3-version:             0.1.1.0+version:             0.1.1.1 synopsis:            A small library to deal with executable endings description:         A small library to deal with executable endings. Uses a Maybe data representation inside an IO monad. homepage:            http://hackage.haskell.org/package/mmsyn3