Skip to content

Commit 39a071e

Browse files
committed
Update
1 parent 34e0e53 commit 39a071e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/main/java/v/o/i/d/iomonad/GuessingGame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class GuessingGame {
1111
private static final InputStream in = System.in;
1212

1313
public static void main(String[] args) {
14-
IoMonad<Void> game = IoMonad
14+
final var game = IoMonad
1515
.of(() -> out.println("Welcome to the Guessing Game!"))
1616
.bind(ignored -> generateRandomNumber())
1717
.map(number -> number + 1) // [0, 100) -> [1, 100]

0 commit comments

Comments
 (0)