packages feed

mmsyn3 0.1.6.0 → 0.2.0.0

raw patch · 4 files changed

+18/−9 lines, 4 filesdep ~basedep ~directoryPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, directory

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -41,3 +41,7 @@  * First version revised I. Changed the bounds of the dependencies to support the newer package versions. +## 0.2.0.0 -- 2023-02-01++* Second version. Switched to the NoImplicitPrelude extension. Updated the dependency boundaries.+
EndOfExe.hs view
@@ -1,13 +1,18 @@ -- | -- Module      :  EndOfExe--- Copyright   :  (c) OleksandrZhabenko 2019-2020+-- Copyright   :  (c) Oleksandr Zhabenko 2019-2023 -- License     :  MIT--- Maintainer  :  olexandr543@yahoo.com+-- Maintainer  :  oleksandr.zhabenko@yahoo.com -- -- A small library to deal with executable endings. Uses a Maybe data representation inside an IO monad. +{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_HADDOCK -show-extensions #-}+ module EndOfExe where +import GHC.Base+import GHC.List import qualified System.Directory as D (findExecutable) import Data.Maybe (isJust,isNothing) import System.IO.Unsafe (unsafePerformIO)@@ -23,14 +28,14 @@       zs <- D.findExecutable (ys ++ ".exe")       if isJust zs         then return $ fmap (ys ++) (Just ".exe")-        else error ("Please, install the executable " ++ ys ++ " into the directory in the PATH variable!")+        else error ("EndOfExe.endOfExecutable: Please, install the executable " ++ ys ++ " into the directory in the PATH variable!")                                    -- | Gets the proper name of the executable in the system (it must be seen in the directories in the @PATH@ variable).  -- You can use 'showE' \"nameOfExecutable\" to get 'Just' \"nameOfExecutable\"@ if it is present on the system. Further you can adopt it to be used  -- inside the 'System.Process.callCommand' as the name of the executable showE :: String -> Maybe String showE xs -  | null xs = error "No executable specified!"+  | null xs = error "EndOfExe.showE: No executable specified!"   | otherwise = unsafePerformIO . endOfExecutable $ xs  -- | Being given a list of names of executables (without an \".exe\" suffix) looks up for them in the specified list order 
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2019-2020 OleksandrZhabenko+Copyright (c) 2019-2023 Oleksandr Zhabenko  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
mmsyn3.cabal view
@@ -2,15 +2,15 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                mmsyn3-version:             0.1.6.0+version:             0.2.0.0 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:            https://hackage.haskell.org/package/mmsyn3 license:             MIT license-file:        LICENSE author:              OleksandrZhabenko-maintainer:          olexandr543@yahoo.com--- copyright:+maintainer:          oleksandr.zhabenko@yahoo.com+copyright:           Oleksandr Zhabenko category:            System build-type:          Simple extra-source-files:  ChangeLog.md@@ -20,6 +20,6 @@   exposed-modules:     EndOfExe   -- other-modules:   -- other-extensions:-  build-depends:       base >=4.7 && <5, directory >=1 && <2+  build-depends:       base >=4.13 && <5, directory >=1.3.4.0 && <2   -- hs-source-dirs:   default-language:    Haskell2010