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

Use more effectively that Node is an enum #105

Merged
merged 5 commits into from
Feb 18, 2018

Conversation

norio-nomura
Copy link
Collaborator

  • Change parameter type of ScalarConstructible.construct(from:) from Node to Node.Scalar
  • Change Constructor:
    • Split Map type into ScalarMap, MappingMap and SequenceMap
    • Split defaultMap static property into defaultScalarMap, defaultMappingMap and defaultSequenceMap
    • Change init(_:) to init(_:_:_:)

* Change parameter type of `ScalarConstructible.construct(from:)` from `Node` to `Node.Scalar`
* Change `Constructor`:
  * Split `Map` type into `ScalarMap`, `MappingMap` and `SequenceMap`
  * Split `defaultMap` static property into `defaultScalarMap`, `defaultMappingMap` and `defaultSequenceMap`
  * Change `init(_:)` to `init(_:_:_:)`
This reverts commit bc25555.
CHANGELOG.md Outdated
@@ -2,7 +2,17 @@

##### Breaking

* None.
* Some APIs are changed related to `ScalarConstructible`
Copy link
Owner

Choose a reason for hiding this comment

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

are -> have

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks!

[skip ci]
Copy link
Owner

@jpsim jpsim left a comment

Choose a reason for hiding this comment

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

Looks great.

@norio-nomura norio-nomura merged commit b301245 into master Feb 18, 2018
@norio-nomura norio-nomura deleted the nn-change-ScalarConstructible branch February 18, 2018 03:42
@norio-nomura
Copy link
Collaborator Author

Thanks for reviews!

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.

2 participants