adventofcode-2020/day7/main.hs
Martin Potier 629e9767c5 Day7 input
2020-12-07 20:35:03 +02:00

12 lines
330 B
Haskell
Executable file

#! /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
input <- lines <$> readFile "day7/input"
putStrLn "Day 7 - Part 1"
print $ input