Create small command line program that parses arguments

Before starting my take-home assignment, the instructions advised me to create a
"Hello, world" program in the language of my choice. Since I'm choosing Haskell,
I created this example as my starter boilerplate.
This commit is contained in:
William Carroll 2020-08-04 16:36:31 +01:00
parent ef40622a87
commit b1c403f6b9
3 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,9 @@
let
pkgs = import /home/wpcarro/nixpkgs {};
in pkgs.mkShell {
buildInputs = with pkgs; [
(haskellPackages.ghcWithPackages (hpkgs: with hpkgs; [
optparse-applicative
]))
];
}