Skip to content

Add method is_one to One trait #214

Closed
@pyfisch

Description

@pyfisch

The Zero trait contains two methods: zero returns the number 0 for the given type and is_zero is provided and can be used to check if a number is 0.

The One trait is similar but contains only the method one to create the number 1. Please also add a method to check if a number is one.

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