adventofcode-2020/day7/main.hs

13 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