Browse Source

Day 7 Cleanup

main
Jens Kadenbach 2 years ago
parent
commit
c115484544
1 changed files with 0 additions and 3 deletions
  1. 0
    3
      src/Day7.hs

+ 0
- 3
src/Day7.hs View File

55
 toFiles (_:rest) = toFiles rest
55
 toFiles (_:rest) = toFiles rest
56
 toFiles [] = []
56
 toFiles [] = []
57
 
57
 
58
-sizeThreshold :: Int
59
-sizeThreshold = 100000
60
-
61
 calculateSize :: Directory -> Int
58
 calculateSize :: Directory -> Int
62
 calculateSize dir = sum (Map.elems (files dir)) + sum sizes
59
 calculateSize dir = sum (Map.elems (files dir)) + sum sizes
63
   where
60
   where

Loading…
Cancel
Save