Initial commit day14

This commit is contained in:
Martin Potier 2020-12-21 15:37:32 +02:00
parent 6aba6f131e
commit ca0a86bdf9
No known key found for this signature in database
GPG Key ID: D4DD957DBA4AD89E
2 changed files with 17 additions and 1 deletions

16
day14/main.hs Executable file
View File

@ -0,0 +1,16 @@
#! /usr/bin/env -S"ANSWER=42" nix-shell
#! nix-shell -p ghcid
#! nix-shell -p "haskellPackages.ghcWithPackages (p: with p; [pretty-simple])"
#! nix-shell -i "ghcid -c 'ghci' -T main"
{-# OPTIONS_GHC -Wall -Wincomplete-uni-patterns #-}
{-# OPTIONS_GHC -Wno-unused-top-binds -Wno-unused-imports #-}
{-# OPTIONS_GHC -Wno-unused-matches #-}
{-# LANGUAGE OverloadedStrings #-}
import Debug.Trace (trace)
import Text.Pretty.Simple
main :: IO ()
main = do
putStrLn ":: Day 14 - Part 1"

View File

@ -13,4 +13,4 @@ import Text.Pretty.Simple
main :: IO ()
main = do
putStrLn "Day x - Part 1"
putStrLn ":: Day x - Part 1"