about summary refs log tree commit diff
path: root/day06.mew
blob: 9bc29bb94091d27c75de3418b4c5dda12cbafeb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
(for (n '(4 14))
  (op=> (slurp "day06")
        gen
        (gwindow _ n)
        (gmap cons _ (range n))
        (gfilter (fun=> car unlist <>?) _)
        app
        cdr
        prn))