12 lines
330 B
Haskell
Executable file
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
|