Skip to content

Add Relude.Numeric module with integerToBounded #125

@chshersh

Description

@chshersh

This should solve specific use case of #114 Specifically:

  1. Move all number-related reexports and functions in this module.
  2. Add integerToBounded function:
integerToBounded :: forall a. (Integral a, Bounded a) => Integer -> Maybe a
  1. Add integerToNatural function there:
integerToNatural :: Integer -> Maybe Natural
  1. Reexport toIntegralSized:

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needednewBring something new into library (add function or type or interface)refactoring

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions