Skip to content

Modulo operator#1437

Closed
dalen wants to merge 1 commit intopuppetlabs:masterfrom
dalen:modulo_operator
Closed

Modulo operator#1437
dalen wants to merge 1 commit intopuppetlabs:masterfrom
dalen:modulo_operator

Conversation

@dalen
Copy link
Contributor

@dalen dalen commented Jan 29, 2013

This adds the modulo operator.

Done on top of the #1436 pull request to not collide with it.

@hlindberg
Copy link
Contributor

The % modulo operator is backwards compatible as it is not a special token in any way and could never have been included in any legal construct other than quoted strings. (See my other comments about adding the keyword "xor" and its implementation).

@jeffmccune
Copy link
Contributor

@dalen it looks like this will need a rebase since GH-1436 has been reverted. Do you mind basing this off master?

Other than the rebase, I don't see any reason not to merge this in. @hlindberg please let me know if I misunderstand your comment, but my interpretation is that you don't have any concerns that need to be addressed before we merge this in.

@dalen
Copy link
Contributor Author

dalen commented Jan 31, 2013

I have rebased it, but for some reason github isn't updating the pull request. I can create a new one though.

The modulo arithmetic operator.
@dalen
Copy link
Contributor Author

dalen commented Jan 31, 2013

okay, got it to update the pull request now.

@jeffmccune jeffmccune closed this in d038b2a Feb 1, 2013
@jeffmccune
Copy link
Contributor

Merged into master as d038b2a.

This should be released in 3.2.0.

Thanks again for the contribution!

-Jeff

@hlindberg
Copy link
Contributor

I was just about to post that I meant that it looked ok. When I posted earlier I had only looked at a couple of things. But now I have read it again in detail. So yeah, good contribution and thank you.

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.

3 participants