Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-turtle | Distribution: SUSE Linux Enterprise 15 SP6 |
Version: 1.6.2 | Vendor: openSUSE |
Release: bp156.1.1 | Build date: Tue Mar 5 11:20:27 2024 |
Group: Unspecified | Build host: i04-ch2a |
Size: 1025219 | Source RPM: ghc-turtle-1.6.2-bp156.1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://hackage.haskell.org/package/turtle | |
Summary: Shell programming, Haskell-style |
'turtle' is a reimplementation of the Unix command line environment in Haskell so that you can use Haskell as both a shell and a scripting language. Features include: * Batteries included: Command an extended suite of predefined utilities * Interoperability: You can still run external shell commands * Portability: Works on Windows, OS X, and Linux * Exception safety: Safely acquire and release resources * Streaming: Transform or fold command output in constant space * Patterns: Use typed regular expressions that can parse structured values * Formatting: Type-safe 'printf'-style text formatting * Modern: Supports 'text' Read "Turtle.Tutorial" for a detailed tutorial or "Turtle.Prelude" for a quick-start guide 'turtle' is designed to be beginner-friendly, but as a result lacks certain features, like tracing commands. If you feel comfortable using 'turtle' then you should also check out the 'Shelly' library which provides similar functionality.
BSD-3-Clause
* Mon Nov 20 2023 Peter Simons <psimons@suse.com> - Update turtle to version 1.6.2 revision 2. 1.6.2 * Build against latest `ansi-wl-pprint` and `optparse-applicative` [[#445]](https://github.com/Gabriella439/turtle/pull/445) / [[#446]](https://github.com/Gabriella439/turtle/pull/446) / [[#447]](https://github.com/Gabriella439/turtle/pull/447) 1.6.1 * BUG FIX: Fix `turtle` to build on Windows * BUG FIX: `stripPrefix` and `commonPrefix` now correctly handle files with extensions * For example, before this fix `stripPrefix "./" "./foo.bar"` would return `Just "foo/.bar"` 1.6.0 * BREAKING CHANGE: Switch to the `FilePath` type from `base` instead of `system-filepath` * This is a breaking change for a couple of reasons: * The `FilePath` type has changed, so the API is not backwards-compatible * The thing most likely to break is if you directly imported utilities from the `system-filepath` or `system-fileio` packages to operate on `turtle`'s `FilePath`s * If that happens, you should first check if the `Turtle` module exports a utility of the same name. If so, then switch to that * If there is no equivalent substitute from the `Turtle` module then you will have to change your code to use the closest equivalent utility from the `filepath` or `directory` package * If you were previously using any of the `system-filepath` or `system-fileio` utilities re-exported from the `Turtle` module then those utilities will not break as they have been replaced with versions compatible with the `FilePath` type from `base` * The second thing most likely to break is any code that relies on typeclasses since because if you defined any instances for the `FilePath` type exported by `turtle` then those instances will now overlap with any instances defined for the `String` type * The conversion utilities (e.g. `toText`, `encodeString`) will still work, so code that used those conversion utilities should be less affected by this change * The behavior of the `collapse` utility is subtly different * `collapse` no longer interprets `..` in paths * This new behavior is more correct in the presence of symlinks, so the change is (hopefully) an improvement to downstream code * The new API strives to match the old behavior as closely as possible * … so this should (hopefully) not break too much code in practice * With the exception of the `collapse` function the new API should be bug-for-bug compatible with the old API * Most of the surprising behavior inherited from the old API is around how `.` and `..` are handled in paths * `parent ".." == "."` is an example of such surprising behavior * At some point in the future we may fix bugs in these utilities inherited from `system-filepath` / `system-fileio`, but no decision either way has been made, yet * Some old utilities are marked `DEPRECATED` if their behavior exactly matches the behavior of an existing utility from the `filepath` or `directory` package * These may be eventually removed at some point in the future or they remain in a deprecated state indefinitely. No decision either way has been made * The `Turtle` module also re-exports any utility suggested by a `DEPRECATED` pragma as a convenience * Other utilities are not deprecated if the old behavior significantly departs from any existing utility from the `filepath` or `directory` package * For example, the behavior of the `filename` utility differs from the behavior of `System.FilePath.takeFileName` for filenames that begin with a `.`, so we have to preserve the old behavior to avoid breaking downstream code * At some point in the future utilities like these may be deprecated in favor of their closest analogs in the `filepath` / `directory` packages or they may be supported indefinitely. No decision either way has been made * If you want to try to author code that is compatible with both the pre-1.6 and post-1.6 API: * If you add any instances to the `FilePath` type, import it qualified directly from the `system-filepath` package and use it only for instances * Otherwise, don't import anything else from the `system-filepath` / `system-fileio` packages if you can help it. Instead, restrict yourself entirely to the utilities and `FilePath` type exported by the `Turtle` module * Use the conversion utilities (e.g. `encodeStrings`, even if they are not necessary post-1.6) * If that's still not enough, use `CPP` and good luck! * Fri May 06 2022 Peter Simons <psimons@suse.com> - Update turtle to version 1.5.25. 1.5.25 * Build against latest version of `Win32` package * Mon Feb 07 2022 Peter Simons <psimons@suse.com> - Update turtle to version 1.5.24. 1.5.24 * Expose `Format` constructor * Sat Nov 20 2021 psimons@suse.com - Update turtle to version 1.5.23. 1.5.23 * Add `fromIO` utility * Build against GHC 9.0 / 9.2 * Mon Apr 05 2021 psimons@suse.com - Update turtle to version 1.5.22. 1.5.22 * Add new `update` utility * Improve documentation for `limit` * Mon Mar 22 2021 psimons@suse.com - Update turtle to version 1.5.21 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Thu Dec 17 2020 Ondřej Súkup <mimi.vx@gmail.com> - disable %{ix86} build * Tue Aug 18 2020 Peter Simons <psimons@suse.com> - Replace %setup -q with the more modern %autosetup macro. * Sun Aug 16 2020 psimons@suse.com - Update turtle to version 1.5.21. 1.5.21 * Build against `optparse-applicative-0.16.0.0` * Wed Aug 12 2020 psimons@suse.com - Update turtle to version 1.5.20. 1.5.20 * Build against `doctest-0.17` * Only depend on `semigroups` for GHC < 8.0 * Tue Jun 16 2020 Peter Simons <psimons@suse.com> - Re-generate file with latest version of spec-cleaner. * Wed May 06 2020 psimons@suse.com - Update turtle to version 1.5.19. 1.5.19 * Add pattern synonyms for `Size` 1.5.18 * Fix space leak 1.5.17 * Add `optionsExt`: Extended version of `options` with header, footer, porgram-description and version information in `--help` flag * Add `readlink` * Tue Jan 21 2020 psimons@suse.com - Update turtle to version 1.5.16. 1.5.16 * Add `cptreeL` * Fri Nov 08 2019 Peter Simons <psimons@suse.com> - Drop obsolete group attributes. * Fri Sep 20 2019 psimons@suse.com - Update turtle to version 1.5.15. 1.5.15 * Add `toLines` * Add `Turtle.Bytes.{fromUTF8,toUTF8}` * Add `Turtle.Bytes.{compress,decompress}` * Always expose a `MonadFail` instance, relying on the `fail` package where needed. Related GHC 8.8 preparedness. * Sun Jul 28 2019 Peter Simons <psimons@suse.com> - Update Cabal file for more accurate build dependencies. * Fri May 17 2019 Peter Simons <psimons@suse.com> - Update Cabal file for more accurate build dependencies. * Fri May 03 2019 Peter Simons <psimons@suse.com> - Update Cabal build instructions for more accurate dependencies. * Sat Apr 20 2019 psimons@suse.com - Update turtle to version 1.5.14. 1.5.14 * Fix `cptree` to copy symlinks instead of descending into them * See: https://github.com/Gabriel439/Haskell-Turtle-Library/pull/344 * Build against newer versions of `Win32` package * Fri Dec 21 2018 psimons@suse.com - Update turtle to version 1.5.13. 1.5.13 * Fix `chmod` bug * See: https://github.com/Gabriel439/Haskell-Turtle-Library/pull/337 * Add `reduce` and re-export `(<&>)` * See: https://github.com/Gabriel439/Haskell-Turtle-Library/pull/332 * Thu Oct 04 2018 psimons@suse.com - Update turtle to version 1.5.12. 1.5.12 * Increase upper bound on `containers` 1.5.11 * Don't forward broken pipe exceptions when using `inproc` * See: https://github.com/Gabriel439/Haskell-Turtle-Library/pull/321 * Increase upper bound on `stm` * See: https://github.com/Gabriel439/Haskell-Turtle-Library/pull/321 * Tutorial improvements: * See: https://github.com/Gabriel439/Haskell-Turtle-Library/pull/322 * Fri Jul 20 2018 psimons@suse.com - Add turtle at version 1.5.10.
/usr/lib64/ghc-8.10.7/turtle-1.6.2 /usr/lib64/ghc-8.10.7/turtle-1.6.2/libHSturtle-1.6.2-F80ckzhtcOU4Xp5tTmwPZz-ghc8.10.7.so /usr/share/licenses/ghc-turtle /usr/share/licenses/ghc-turtle/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 20:06:21 2024