aboutsummaryrefslogtreecommitdiff
path: root/2015/puzzle-2.hs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-11-01 01:39:39 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-11-01 01:39:39 +0000
commitbd5575055dd79ae5f543f64afc1367eb53866e8c (patch)
tree6645c1ae01aa4c7eb6183013c336ca96553614f0 /2015/puzzle-2.hs
parent5954e0f299f0b412e377d9f9eaac34a2230a0a7e (diff)
downloadadvent-of-code-bd5575055dd79ae5f543f64afc1367eb53866e8c.tar.gz
advent-of-code-bd5575055dd79ae5f543f64afc1367eb53866e8c.tar.bz2
advent-of-code-bd5575055dd79ae5f543f64afc1367eb53866e8c.zip
Add compile commands to make running these solutions easier
Diffstat (limited to '2015/puzzle-2.hs')
-rw-r--r--2015/puzzle-2.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/2015/puzzle-2.hs b/2015/puzzle-2.hs
index 3fbbd65..ce6adb4 100644
--- a/2015/puzzle-2.hs
+++ b/2015/puzzle-2.hs
@@ -26,3 +26,7 @@ main = do
let ribbon = sum $ map total_ribbon dimensions
putStrLn $ "Round 1: " ++ (show areas)
putStrLn $ "Round 2: " ++ (show ribbon)
+
+-- Local Variables:
+-- compile-command: "ghc puzzle-2.hs && ./puzzle-2"
+-- End: