adventofcode-2020/day7/main.hs

13 lines
330 B
Haskell
Raw Normal View History

2020-12-07 19:35:03 +01:00
#! /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