This commit is contained in:
2023-12-09 10:04:40 +01:00
parent dbfd617fb0
commit cb79c63bb2
5 changed files with 60 additions and 0 deletions

7
day09/Part1.hs Normal file
View File

@@ -0,0 +1,7 @@
module Part1 where
import Commons
getNextValues :: [History] -> [Int]
getNextValues = map $ getNextValue . reverse