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

fromInt and Ring-like structures. #176

@johnynek

Description

@johnynek

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions