Skip to content

proposal: constraints: rename package to "of"Β #50348

Closed
@panyox

Description

@panyox

snippet code

func Abs[V of.Number](v V) V{...}

func Sum[K comparable, V of.Number](m map[K]V) V {...}

it is simple and smooth to type the word "of" better then "constraints"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions