Add compile commands to make running these solutions easier

This commit is contained in:
2024-11-01 01:39:39 +00:00
parent 5954e0f299
commit bd5575055d
2 changed files with 8 additions and 0 deletions

View File

@@ -25,3 +25,7 @@ do
done < <(printf "%s" $text | tr -d '\n')
echo "Round 2:" $pos
# Local Variables:
# compile-command: "sh puzzle-1.sh"
# End:

View File

@@ -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: