about summary refs log tree commit diff
path: root/day06.mew
diff options
context:
space:
mode:
Diffstat (limited to 'day06.mew')
-rw-r--r--day06.mew9
1 files changed, 9 insertions, 0 deletions
diff --git a/day06.mew b/day06.mew
new file mode 100644
index 0000000..9bc29bb
--- /dev/null
+++ b/day06.mew
@@ -0,0 +1,9 @@
+(for (n '(4 14))
+  (op=> (slurp "day06")
+        gen
+        (gwindow _ n)
+        (gmap cons _ (range n))
+        (gfilter (fun=> car unlist <>?) _)
+        app
+        cdr
+        prn))