From 7b87ba746923180ac35e80af0e9c69d8c5de4ba4 Mon Sep 17 00:00:00 2001 From: "EEva (JPotier)" Date: Tue, 29 Dec 2020 14:34:02 +0200 Subject: [PATCH] Initial commit for day16 --- day16/main.hs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 day16/main.hs diff --git a/day16/main.hs b/day16/main.hs new file mode 100755 index 0000000..c623eec --- /dev/null +++ b/day16/main.hs @@ -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 16 - Part 1"