Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added examples of Arrow composition #1952

Merged
merged 9 commits into from
Oct 10, 2017
Merged

Conversation

raymondtay
Copy link
Contributor

Thought it might be useful for readers to understand Arrow composition at first glance.

@LukaJCB
Copy link
Member

LukaJCB commented Oct 7, 2017

Hey thanks for the contribution! :) You have some style errors, you should fix before we can merge though. You can check them by running scalastyle from sbt.

@lorenasmith2017
Copy link

Thanks

@raymondtay
Copy link
Contributor Author

Thanks for alerting me to that @LukaJCB

* scala> import cats.implicits._
* scala> import cats.arrow._
* scala> val f = (_ + 1)
* scala> val g = (_ * 100)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the above two lines don't compile

/home/travis/build/typelevel/cats/core/.jvm/target/scala-2.10/src_managed/test/cats/arrow/ComposeDoctest.scala:20: missing parameter type for expanded function

@raymondtay
Copy link
Contributor Author

raymondtay commented Oct 9, 2017 via email

@kailuowang
Copy link
Contributor

Not at all, @raymondtay thank you very much for contributing to Cats!

@raymondtay
Copy link
Contributor Author

raymondtay commented Oct 9, 2017 via email

@codecov-io
Copy link

codecov-io commented Oct 10, 2017

Codecov Report

Merging #1952 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1952   +/-   ##
=======================================
  Coverage   96.14%   96.14%           
=======================================
  Files         273      273           
  Lines        4535     4535           
  Branches      114      114           
=======================================
  Hits         4360     4360           
  Misses        175      175
Impacted Files Coverage Δ
core/src/main/scala/cats/arrow/Compose.scala 66.66% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b84015a...bcbd847. Read the comment docs.

@kailuowang kailuowang merged commit 8e54a08 into typelevel:master Oct 10, 2017
@kailuowang kailuowang added this to the 1.0.0-RC1 milestone Oct 13, 2017
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