We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca19d28 commit 369986eCopy full SHA for 369986e
1 file changed
demo/src/main/java/fj/demo/IOWalkthrough.java
@@ -49,7 +49,7 @@ public static void main(String[] args) {
49
50
// now we create a function which takes a string, upper cases it and creates an IO value that would print the upper cased string if executed
51
52
- final F<String, IO<Unit>> upperCaseAndPrint = F1Functions.<String, IO<Unit>, String>o(IOFunctions::stdoutPrintln).f(s -> s.toUpperCase());
+ final F<String, IO<Unit>> upperCaseAndPrint = F1Functions.<String, IO<Unit>, String>o(IOFunctions::stdoutPrintln).f(String::toUpperCase);
53
54
// we now want to compose reading the name with printing it, for that we need to have access to the runtime value that is returned when the
55
// IO value for read is executed, hence we use fj.data.IOFunctions.bind instead of fj.data.IOFunctions.append
0 commit comments