Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upfixes error on documentation for filterMap #569
Conversation
rebelwarrior
referenced this pull request
Apr 27, 2016
Closed
Result instead of Maybe for List.head and the like #369
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Apr 27, 2016
Contributor
Two comments:
- Don't do the
List.prefix forfilterMapthere. I think this is done nowhere in the documentation, that documentation for functionfis prefixed by its module name inside that defining module. - A similar fix in the documentation for
Signal.filterMapshould probably be done in the same go.
|
Two comments:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rebelwarrior
Apr 27, 2016
Contributor
Oh shoot I thought I took the prefix out. That was an oversight. (Copy paste from command line)
I'll do another pull request tonight.
Sent from my mobile.
On Apr 27, 2016, at 2:47 AM, Janis Voigtländer notifications@github.com wrote:
Two comments:
Don't do the List. prefix for filterMap there. I think this is done nowhere in the documentation, that documentation for function f is prefixed by its module name inside that defining module.
A similar fix in the documentation for Signal.filterMap should probably be done in the same go.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
|
Oh shoot I thought I took the prefix out. That was an oversight. (Copy paste from command line) I'll do another pull request tonight. Sent from my mobile.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Apr 27, 2016
Contributor
Cool. Actually, you can keep it simple, I think. Just remove the prefix and squash the commits. I just realized that making a corresponding change to the documentation of Signal.filterMap is not really necessary, with the changes to core that are on the horizon.
|
Cool. Actually, you can keep it simple, I think. Just remove the prefix and squash the commits. I just realized that making a corresponding change to the documentation of |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Apr 27, 2016
Contributor
Thanks for opening the other PR. Closing this one here in favour of the other one.
|
Thanks for opening the other PR. Closing this one here in favour of the other one. |
jvoigtlaender
closed this
Apr 27, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rebelwarrior
Apr 27, 2016
Contributor
I could not find it to close it. Thought you'd closed it already. :)
Sent from my mobile.
On Apr 27, 2016, at 1:57 PM, Janis Voigtländer notifications@github.com wrote:
Thanks for opening the other PR. Closing this one here in favour of the other one.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
|
I could not find it to close it. Thought you'd closed it already. :) Sent from my mobile.
|
rebelwarrior commentedApr 27, 2016
This line
filterMap String.toInt ["3", "4.0", "5", "hats"] == [3,5]would not work since toInt doesn't produce a Maybe but a Result.