-
Notifications
You must be signed in to change notification settings - Fork 154
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
Unify numeric type class instances #483
Merged
Merged
Commits on Apr 20, 2018
-
Add AsValueOf[A, B] type class
A type class that converts the type `A` to a value of type `B`.
Configuration menu - View commit details
-
Copy full SHA for 90836ca - Browse repository at this point
Copy the full SHA 90836caView commit details -
Change the definition of MaxSize[N]
... to `type MaxSize[N] = Size[Interval.Closed[_0, N]]` and use `AsValueOf` for the `Arbitrary` instance of `Interval.Closed[L, H]` so that we can generate instances where the LUB of `L` and `H` is `Any` (as for example in ``Interval.Closed[_0, W.`10`.T]``).
Configuration menu - View commit details
-
Copy full SHA for 4d1e614 - Browse repository at this point
Copy the full SHA 4d1e614View commit details -
Remove duplicated numeric ScalaCheck instances
The instances with `AsValueOf` works for both `Nat` and primitive types.
Configuration menu - View commit details
-
Copy full SHA for 3afc3a1 - Browse repository at this point
Copy the full SHA 3afc3a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8047447 - Browse repository at this point
Copy the full SHA 8047447View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3515e0c - Browse repository at this point
Copy the full SHA 3515e0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a80f354 - Browse repository at this point
Copy the full SHA a80f354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6da5b51 - Browse repository at this point
Copy the full SHA 6da5b51View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcadeff - Browse repository at this point
Copy the full SHA dcadeffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e12f25 - Browse repository at this point
Copy the full SHA 4e12f25View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9cb982 - Browse repository at this point
Copy the full SHA f9cb982View commit details -
Configuration menu - View commit details
-
Copy full SHA for e63678f - Browse repository at this point
Copy the full SHA e63678fView commit details
Commits on Apr 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f25151d - Browse repository at this point
Copy the full SHA f25151dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cae5bc5 - Browse repository at this point
Copy the full SHA cae5bc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4443b36 - Browse repository at this point
Copy the full SHA 4443b36View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.