Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- isPowerOfTwo :: (Num a, Bits a) => a -> Bool
- roundUpToNearestMultipleOf :: Integral n => n -> n -> n
- nonEmptyUnzip3 :: NonEmpty (a, b, c) -> (NonEmpty a, NonEmpty b, NonEmpty c)
- newtype Positive a = Positive {
- getPositive :: a
- positive :: (Num a, Ord a) => a -> Maybe (Positive a)