Skip to content

Commit

Permalink
comment fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Dec 27, 2024
1 parent c6bbe4b commit ac08a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solutions/src/2024/21.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac08a4a

Please sign in to comment.