Skip to content

Provide an IO walkthrough example demonstrating basic composition#254

Merged
jbgi merged 1 commit into
functionaljava:masterfrom
fakraemer:master
May 24, 2016
Merged

Provide an IO walkthrough example demonstrating basic composition#254
jbgi merged 1 commit into
functionaljava:masterfrom
fakraemer:master

Conversation

@fakraemer

Copy link
Copy Markdown
Contributor

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.

@puffnfresh

Copy link
Copy Markdown
Member

Awesome job! 👍

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.09%) to 34.253% when pulling 47b58b8 on fakraemer:master into cbeec83 on functionaljava:master.

@jbgi
jbgi merged commit ca19d28 into functionaljava:master May 24, 2016
@jbgi

jbgi commented May 24, 2016

Copy link
Copy Markdown
Member

@fakraemer is the lib open-source? I'd love to show it as a reference to my co-worker ;)
btw, did you had a look at https://github.com/derive4j/derive4j to introduce sum types/pattern matching?

@fakraemer

Copy link
Copy Markdown
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.

@mperry mperry added this to the v4.6 milestone Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants