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

Add tell method to WriterT #1207

Merged
merged 2 commits into from
Jul 17, 2016
Merged

Add tell method to WriterT #1207

merged 2 commits into from
Jul 17, 2016

Conversation

ceedubs
Copy link
Contributor

@ceedubs ceedubs commented Jul 16, 2016

And also add tell and value methods to the Writer object to
conveniently create Writer instances.

And also add `tell` and `value` methods to the `Writer` object to
conveniently create `Writer` instances.
@ceedubs
Copy link
Contributor Author

ceedubs commented Jul 16, 2016

This is a replacement for #1205, where I tried to do too many things at once and got tripped up on naming.

@codecov-io
Copy link

codecov-io commented Jul 16, 2016

Current coverage is 89.18%

Merging #1207 into master will decrease coverage by 0.02%

@@             master      #1207   diff @@
==========================================
  Files           234        234          
  Lines          3141       3144     +3   
  Methods        3084       3085     +1   
  Messages          0          0          
  Branches         55         57     +2   
==========================================
+ Hits           2802       2804     +2   
- Misses          339        340     +1   
  Partials          0          0          

Sunburst

Powered by Codecov. Last updated by 4f7b79a...d7a5085

w2.tell("bar") should === (Writer("foobar", 3))
}

test("MonadWriter's tell is consistent with write") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This probably should be "... is consistent with tell" ?

@peterneyens
Copy link
Collaborator

👍

1 similar comment
@non
Copy link
Contributor

non commented Jul 17, 2016

👍

@non non merged commit 9b581cd into typelevel:master Jul 17, 2016
@non non removed the in progress label Jul 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants