Package Info

ghc-turtle


Shell programming, Haskell-style


Unspecified

'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.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/turtle

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.6.2-bp156.1.1 info GA Release 2024-03-05 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-turtle
  • ghc-turtle-devel
1.5.24-bp155.2.14 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-turtle
  • ghc-turtle-devel
1.5.24-bp154.1.15 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-turtle
  • ghc-turtle-devel
1.5.19-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-turtle
  • ghc-turtle-devel
1.5.19-bp152.1.1 info GA Release 2020-05-23 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-turtle
  • ghc-turtle-devel
1.5.13-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • x86-64
  • ghc-turtle
  • ghc-turtle-devel
1.5.13-bp151.1.8 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-turtle
  • ghc-turtle-devel
1.3.6-bp150.1.3 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • x86-64
  • ghc-turtle
  • ghc-turtle-devel