Empty day2

This commit is contained in:
Martin Potier 2020-12-02 08:43:14 +02:00
parent 0b05fa094b
commit 6674ab9ed0
3 changed files with 1014 additions and 2 deletions

1000
day2/input Normal file

File diff suppressed because it is too large Load diff

10
day2/main.hs Executable file
View file

@ -0,0 +1,10 @@
#! /usr/bin/env -S"ANSWER=42" nix-shell
#! nix-shell -p ghcid
#! nix-shell -p "haskellPackages.ghcWithPackages (p: with p; [shower])"
#! nix-shell -i "ghcid -c 'ghci -Wall' -T main"
{-# LANGUAGE OverloadedStrings #-}
main :: IO ()
main = do
putStrLn "Day 2 - Part 1"

View file

@ -1,5 +1,7 @@
#! /usr/bin/env nix-shell
#! nix-shell -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [])" -i runhaskell
#! /usr/bin/env -S"ANSWER=42" nix-shell
#! nix-shell -p ghcid
#! nix-shell -p "haskellPackages.ghcWithPackages (p: with p; [shower])"
#! nix-shell -i "ghcid -c 'ghci -Wall' -T main"
{-# LANGUAGE OverloadedStrings #-}