Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-path | Distribution: SUSE Linux Enterprise 15 SP3 |
Version: 0.7.0 | Vendor: openSUSE |
Release: bp153.1.20 | Build date: Mon Apr 12 13:15:21 2021 |
Group: Unspecified | Build host: obs-arm-8 |
Size: 482988 | Source RPM: ghc-path-0.7.0-bp153.1.20.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://hackage.haskell.org/package/path | |
Summary: Support for well-typed paths |
Support for well-typed paths.
BSD-3-Clause
* Mon Dec 30 2019 psimons@suse.com - Update path to version 0.7.0. 0.7.0: * BREAKING CHANGE: "fileExtension" now throws an exception if the file has no extension. You can use the result as a "Maybe" in pure code or handle the exception appropriately in any other monad. * Old extension operations "addFileExtension" and "setFileExtension" have been deprecated and replaced by "addExtension" and "replaceExtension" respectively with new behavior. ADAPTING YOUR CODE TO THIS CHANGE: * Code that sets an extension not starting with a "." e.g. "foo", must be changed such that it starts with a "." i.e. ".foo". * Code that sets multiple extensions in one go e.g. ".tar.gz" must be changed to set them one at a time instead i.e. add ".tar" first and then add ".gz". * Code that sets an extension starting with multiple dots e.g. "..foo" must be changed such as to make the extra dots part of the file name instead. Details: The new operations "addExtension" and "replaceExtension" accept only "valid" extension forms which is exactly the same as what "fileExtension" returns. A valid extension starts with a @.@ followed by one or more characters not including @.@ followed by zero or more @.@s in trailing position. This change allows extension operations to be principled following these laws: * flip addExtension file >=> fileExtension == return * (fileExtension >=> flip replaceExtension file) file == return file * Add splitExtension operation such that: * uncurry addExtension . swap >=> splitExtension == return * splitExtension >=> uncurry addExtension . swap == return * fileExtension == (fmap snd) . splitExtension@ * Add 'Path.Posix' and 'Path.Windows' modules for manipulating Windows or Posix style paths independently of the current platform. * Add 'Lift' instance for 'Path'. * `Path.Windows` normalizes path separators throughout path, including immediately following drive letter. * `Path.Windows` handles UNC (`\\host\share\`) and Unicode (`\\?\C:\`) path without breaking the double-separator prefix. * Remove support for old GHC version. The oldest supported version is 8.2. * Fri Nov 08 2019 Peter Simons <psimons@suse.com> - Drop obsolete group attributes. * Sat Oct 20 2018 Peter Simons <psimons@suse.com> - Use https URL to refer to bugs.opensuse.org. * Wed Jul 18 2018 psimons@suse.com - Cosmetic: replace tabs with blanks, strip trailing white space, and update copyright headers with spec-cleaner. * Mon May 14 2018 psimons@suse.com - Update path to version 0.6.1 revision 1. * Add 'addFileExtension' function and its operator form: (<.>). * Derive 'Eq' instance for 'PathException'. * Deprecate PathParseException and rename it to PathException * Allow 'parent' to work on relative paths as well * Deprecate isParentOf and stripDir and rename them to isProperPrefixOf and stripProperPrefix respectively. * Allow "." as a valid relative dir path with the following rules: * "./" </> "./" = "./" * "./" </> "x/" = "x/" * "x/" </> "./" = "x/" * dirname "x" = "./" * dirname "/" = "./" * dirname "./" = "./" * Make dirname return "." instead of "/" (fixes #18). * Remove the 'validity' flag. * Add synonym for setFileExtension in the form of an operator: (-<.>). * Thu Aug 03 2017 psimons@suse.com - Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. * Mon Mar 27 2017 psimons@suse.com - Update to version 0.5.13 with cabal2obs. * Wed Mar 22 2017 psimons@suse.com - Update to version 0.5.12 revision 2 with cabal2obs. * Thu Mar 02 2017 psimons@suse.com - Update to version 0.5.12 revision 1 with cabal2obs. * Sun Feb 05 2017 psimons@suse.com - Update to version 0.5.12 with cabal2obs. * Fri Dec 16 2016 psimons@suse.com - Update to version 0.5.11 revision 1 with cabal2obs. * Mon Aug 01 2016 psimons@suse.com - Update to version 0.5.9 revision 0 with cabal2obs. * Sun Jul 10 2016 psimons@suse.com - Update to version 0.5.8 revision 0 with cabal2obs. * Fri Jun 17 2016 mimi.vx@gmail.com - update to 0.5.8 * Add Aeson instances. * Tue Mar 08 2016 mimi.vx@gmail.com - update to 0.5.7 * Fix haddock problem. * Reject only .. and . * Use filepath's isValid function for additional sanity checks * Disable parsing of path consisting only of "." * Add NFData instance for Path * Some typo/docs improvements * Add standard headers to modules * Sun Nov 29 2015 mimi.vx@gmail.com - update to 0.5.3 * Added conversion functions. * Thu Nov 19 2015 mimi.vx@gmail.com - initial commit
/usr/lib64/ghc-8.10.4/path-0.7.0 /usr/lib64/ghc-8.10.4/path-0.7.0/libHSpath-0.7.0-DaYIqyZjV0y2fHsdNzgL3q-ghc8.10.4.so /usr/share/licenses/ghc-path /usr/share/licenses/ghc-path/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 13:54:43 2024