diff --git a/solutions/src/2024/21.hs b/solutions/src/2024/21.hs index 23c354c..0c247c6 100644 --- a/solutions/src/2024/21.hs +++ b/solutions/src/2024/21.hs @@ -80,7 +80,7 @@ shortestDoorCodeLength n str = -- robot directional code via a given number of robot layers. shortestRobotCodeLength :: Int {- ^ robot layers -} -> - String {- ^ door code -} -> + String {- ^ robot arrows code -} -> Int {- ^ shortest button press count -} shortestRobotCodeLength = memo2 \n str -> if n == 0 then length str else