summaryrefslogtreecommitdiff
path: root/libraries/base/tests/T16943b.hs
blob: 7e96eaba60b295cc43307e75fab547c35d131bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
module Main(main) where

scoreWeek :: [Int] -> [[Int]]
scoreWeek xs =
  take 168
  $ scanr (:) []
  -- $ take (3*168)
  $ cycle xs

main = print $ length $ scoreWeek [1,2..168]