Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

fromInt and Ring-like structures. #176

Open
johnynek opened this issue Oct 17, 2016 · 0 comments
Open

fromInt and Ring-like structures. #176

johnynek opened this issue Oct 17, 2016 · 0 comments

Comments

@johnynek
Copy link
Contributor

seems fromNonNegInt only needs sumN(one, n). one is from MultiplicativeMonoid and sumN is from AdditiveMonoid so Rig

fromPosInt would only need Semiring.

We don't have Pos or NonNeg types. We could add them or add unsafe functions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant