nitrous

Snippets should be like whippets: fast.

bash $ snip string base "{-# LANGUAGE TemplateHaskell, DeriveFoldable, DeriveFunctor, DeriveTraversable #-}" $ snip fetch base {-# LANGUAGE TemplateHaskell, DeriveFoldable, DeriveFunctor, DeriveTraversable #-}

The Pitch

The Anti-Pitch

Installation

Script

The easiest way to install for most users is probably via a shell script, viz.

curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git vmchale/nitrous

Binary releases

If the script doesn't work, you can also download prebuilt binaries. You can find binaries for various platforms on the release page.

Cargo

First, install cargo. Then:

bash $ cargo install nitrous

Configuration

You can find some example snippets that I use in the snips/ directory.