From bd5575055dd79ae5f543f64afc1367eb53866e8c Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 1 Nov 2024 01:39:39 +0000 Subject: Add compile commands to make running these solutions easier --- 2015/puzzle-2.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to '2015/puzzle-2.hs') 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: -- cgit v1.2.3-13-gbd6f