Package1.6.2System
turtle
Shell programming, Haskell-style
- Version1.6.2
- CategorySystem
- LicenceBSD-3-Clause
- AuthorGabriella Gonzalez
- MaintainerGenuineGabriella@gmail.com
- Pinned byhackage turtle 1.6.2
- Sourcehackage.haskell.org/package/turtle-1.6.2
Modules
9 modules- Turtle59See Turtle.Tutorial to learn how to use this library or Turtle.Prelude
- Turtle.Bytes32This module provides ByteString analogs of several utilities in
- Turtle.Format19Minimalist implementation of type-safe formatted strings, borrowing heavily
- Turtle.Line7
- Turtle.Options27Example usage of this module: -- options.hs
- Turtle.Pattern52Use this module to either: match Text with light-weight backtracking patterns, or: parse structured values from Text. Example usage: :se…
- Turtle.Prelude177This module provides a large suite of utilities that resemble Unix
- Turtle.Shell14You can think of Shell as [] + IO + Managed. In fact, you can embed
- Turtle.Tutorial0Use turtle if you want to write light-weight and maintainable shell
Description
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.
Depends on
23 packages- ansi-wl-pprint-1.0.2in this set
- async-2.2.5in this set
- base-4.20.2.0with GHC
- bytestring-0.12.2.0with GHC
- clock-0.8.4in this set
- containers-0.7with GHC
- directory-1.3.8.5with GHC
- exceptions-0.10.9with GHC
- filepath-1.5.4.0with GHC
- foldl-1.4.18in this set
- hostname-1.0in this set
- managed-1.0.10in this set
- optional-args-1.0.2in this set
- optparse-applicative-0.18.1.0in this set
- process-1.6.26.1with GHC
- stm-2.5.3.1with GHC
- streaming-commons-0.2.3.0in this set
- temporary-1.3in this set
- text-2.1.3with GHC
- time-1.12.2with GHC
- transformers-0.6.1.1with GHC
- unix-2.8.7.0with GHC
- unix-compat-0.7.4.1in this set
Used by in this set · 0
Nothing in this set depends on it.