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 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.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/qrj14kc61fn8lfllcbqxxqpg620aqqsx-ghc-turtle-1.5.15.drv | ||
mips64el-linux | /gnu/store/ns7in38a968ax0hhj8vmfrfqh11m2223-ghc-turtle-1.5.15.drv | ||
i686-linux | /gnu/store/nwv4ydnwkxfj00izj3x26p1z7mzv7ism-ghc-turtle-1.5.15.drv | ||
i586-gnu | /gnu/store/zp6b8vkjnha1lz7m244jzbgbjqxsfa90-ghc-turtle-1.5.15.drv | ||
armhf-linux | /gnu/store/knbq17c8z9gjmkrdpkgimlwblcdwn6zq-ghc-turtle-1.5.15.drv | ||
aarch64-linux | /gnu/store/541zyxiyakb1l4qss6lmx5n63ypqngsb-ghc-turtle-1.5.15.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |