Provide an IO walkthrough example demonstrating basic composition#254
Merged
Conversation
Member
|
Awesome job! 👍 |
Member
|
@fakraemer is the lib open-source? I'd love to show it as a reference to my co-worker ;) |
Contributor
Author
|
@jbgi you mean the project we're working on? Unfortunately it's closed-source. Will be looking to extract more example code out in the future for the functionaljava doc. I did not know about derive4j, thx! Looks neat, @puffnfresh is already looking through it to see what is feasible for us to use. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We're trying to use functionaljava in our team, but some members are quite unfamiliar with functional programming concepts. The documentation on www.functionaljava.org does not contain an IO example, hence I was tasked with providing one. I stumbled over IODemo.java but I think it obscures a bit what's happening, hence I strived for a simpler example with more code inlined. I realise that this might deviate a bit from the current documentation style, hence I'm happy to adapt this but I think a more trivial example might make sense given the language this library is written in and the crowd it is trying to attract (gateway drug 👻). I'll update the examples-java8.html once this is merged.