Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class HasNatural a where Source #
newtype ProductNatural Source #
Instances
newtype MaxNatural Source #
Instances
newtype MinNatural Source #
Instances
successor' :: Natural -> Natural Source #
findIndices :: (a -> Bool) -> [a] -> [Natural] Source #
elemIndices :: Eq a => a -> [a] -> [Natural] Source #
class HasPositive a where Source #
class AsPositive a where Source #
Instances
newtype SumPositive Source #
Instances
newtype MaxPositive Source #
Instances
newtype MinPositive Source #
Instances
successor1' :: Positive -> Positive Source #
oneOr :: AsPositive a => a -> Positive Source #
replicate1 :: Positive -> a -> NonEmpty a Source #