GitHub user eiri opened a pull request:
https://github.com/apache/couchdb-couch-mrview/pull/65
Refactor mrview_index get
This is a simple refactoring of mrview's `get/2` function that uses
function's pattern matching instead of staircase case.
Arguably this makes code easier to read and more idiomatic.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-mrview
refactor-mrview-index-get
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-mrview/pull/65.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #65
----
commit c079c1bb01197431b36fae11e8e287e9672bf9d9
Author: Eric Avdey <[email protected]>
Date: 2017-02-07T14:39:46Z
Refactor mrview_index get
This is a simple refactoring of mrview's
get function that uses function's pattern
matching instead of staircase case.
Arguably this makes code easier to read
and more idiomatic.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---