Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- class IntegerNarrow a b where
- class IntegerNarrow a b => IntegerConvert a b where
- convert :: a -> b
- class (IntegerConvert a b, IntegerConvert b a) => IntegerEquiv a b
- yolo :: (Integral a, Num b) => a -> b
Documentation
class IntegerNarrow a b where Source #
Instances
class IntegerNarrow a b => IntegerConvert a b where Source #
Instances
class (IntegerConvert a b, IntegerConvert b a) => IntegerEquiv a b Source #
Instances
IntegerEquiv Positive Positive Source # | |
Defined in Integer.Conversion | |
IntegerEquiv Signed Signed Source # | |
Defined in Integer.Conversion | |
IntegerEquiv Signed Integer Source # | |
Defined in Integer.Conversion | |
IntegerEquiv Integer Signed Source # | |
Defined in Integer.Conversion | |
IntegerEquiv Integer Integer Source # | |
Defined in Integer.Conversion | |
IntegerEquiv Natural Natural Source # | |
Defined in Integer.Conversion |