From 5cff3ec2c58553d297df16f91cb61e61d00c00f8 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Fri, 11 Sep 2015 16:54:29 +0200 Subject: [PATCH] Document type aliases --- nix-script.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix-script.hs b/nix-script.hs index 3d82a83..cc7fb03 100755 --- a/nix-script.hs +++ b/nix-script.hs @@ -8,9 +8,13 @@ import System.Environment (lookupEnv, getProgName, getArgs) import System.Process (callProcess) import System.Posix.Escape.Unicode (escapeMany) - +-- | Enviroment variables type Env = [String] + +-- | Program arguments type Args = [String] + +-- | interpreter name and arguments type Inter = (String, Args)