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

Builder Methods (JSON, Base64 and UTF8) #42

Merged
merged 4 commits into from
Feb 22, 2016
Merged

Builder Methods (JSON, Base64 and UTF8) #42

merged 4 commits into from
Feb 22, 2016

Conversation

RuiAAPeres
Copy link
Member

closes #41

let intGen =
Gen<Int>.fromElementsIn(1...9)
.proliferateNonEmpty

Copy link
Contributor

Choose a reason for hiding this comment

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

We can use something like this:

let positiveNumber = Positive<Int>.arbitrary
positiveNumber.generate.getPositive //Any integer greater than 0.

@dmcrodrigues
Copy link
Member

This convenience methods are awesome ✨ 👍

@dmcrodrigues
Copy link
Member

🛰

dmcrodrigues added a commit that referenced this pull request Feb 22, 2016
Builder Methods (JSON, Base64 and UTF8)
@dmcrodrigues dmcrodrigues merged commit 80b3a81 into master Feb 22, 2016
@dmcrodrigues dmcrodrigues deleted the rp/utility branch February 22, 2016 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the body creation easier
3 participants