aboutsummaryrefslogtreecommitdiffstats
path: root/AoC2022/09
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2022-12-09 14:17:38 +0100
committerOscar Najera <hi@oscarnajera.com>2022-12-09 14:20:01 +0100
commitf414e9a4a26d74402a569ddcb1ba964394267899 (patch)
treea477944de26ca35b26e27d14232882ced23d9d0d /AoC2022/09
parent7e207bf01575550fcae82103d1e6573d7b7b5216 (diff)
downloadscratch-f414e9a4a26d74402a569ddcb1ba964394267899.tar.gz
scratch-f414e9a4a26d74402a569ddcb1ba964394267899.tar.bz2
scratch-f414e9a4a26d74402a569ddcb1ba964394267899.zip
Unify advent of code makefile
now call from emacs compile make -C .. <language>
Diffstat (limited to 'AoC2022/09')
-rw-r--r--AoC2022/09/solver.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/AoC2022/09/solver.el b/AoC2022/09/solver.el
index cf5ac7f..778c508 100644
--- a/AoC2022/09/solver.el
+++ b/AoC2022/09/solver.el
@@ -14,6 +14,7 @@
;; Day 09
;;
;;; Code:
+(require 'subr-x)
(defsubst solver-diff (head tail)
(cons (- (car head) (car tail)) (- (cdr head) (cdr tail))))