Skip to content

Commit f3e8652

Browse files
author
Purlox
committed
Removed unnecessary lambda
1 parent 226ddce commit f3e8652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/lazyfoo/Lesson17.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ main = do
125125
SDL.rendererDrawColor renderer $= V4 maxBound maxBound maxBound maxBound
126126
SDL.clear renderer
127127

128-
let buttons' = map (\b -> updateButton b) buttons
128+
let buttons' = map updateButton buttons
129129
for_ buttons' (renderButton renderer buttonSpriteSheet)
130130

131131
SDL.present renderer

0 commit comments

Comments
 (0)