turtle: Shell programming, Haskell-style

[ bsd3, library, system ] [ Propose Tags ]

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 and system-filepath

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.5.13, 1.5.14, 1.5.15, 1.5.16, 1.5.17, 1.5.18, 1.5.19, 1.5.20, 1.5.21, 1.5.22, 1.5.23, 1.5.24, 1.5.25, 1.6.0, 1.6.1, 1.6.2 (info)
Change log CHANGELOG.md
Dependencies ansi-wl-pprint (>=0.6 && <0.7), async (>=2.0.0.0 && <2.3), base (>=4.6 && <5), bytestring (>=0.9.1.8 && <0.11), clock (>=0.4.1.2 && <0.8), containers (>=0.5.0.0 && <0.6), directory (>=1.0.7 && <1.4), exceptions (>=0.4 && <0.11), foldl (>=1.1 && <1.5), hostname (<1.1), managed (>=1.0.3 && <1.1), optional-args (>=1.0 && <2.0), optparse-applicative (>=0.13 && <0.15), process (>=1.0.1.1 && <1.7), semigroups (>=0.5.0 && <0.19), stm (<2.5), system-fileio (>=0.2.1 && <0.4), system-filepath (>=0.3.1 && <0.5), temporary (<1.4), text (<1.3), time (<1.9), transformers (>=0.2.0.0 && <0.6), unix (>=2.5.1.0 && <2.8), unix-compat (>=0.4 && <0.6), Win32 (>=2.2.0.1 && <2.6) [details]
License BSD-3-Clause
Copyright 2015 Gabriel Gonzalez
Author Gabriel Gonzalez
Maintainer Gabriel439@gmail.com
Category System
Bug tracker https://github.com/Gabriel439/Haskell-Turtle-Library/issues
Source repo head: git clone https://github.com/Gabriel439/Haskell-Turtle-Library
Uploaded by GabrielGonzalez at 2018-04-21T01:30:39Z
Distributions Arch:1.6.2, Fedora:1.6.1, LTSHaskell:1.6.2, NixOS:1.6.2, Stackage:1.6.2
Reverse Dependencies 30 direct, 2 indirect [details]
Downloads 49739 total (226 in the last 30 days)
Rating 2.5 (votes: 6) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-04-21 [all 1 reports]