Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
>>>
mempty :: LCM Int
LCM {getLCM = 1}>>>
LCM (-2) <> LCM 3
LCM {getLCM = 6}>>>
LCM (-1) <> mempty
LCM {getLCM = 1}
Instances
Unbox a => Vector Vector (LCM a) Source # | |
Defined in Data.Monoid.LCM basicUnsafeFreeze :: Mutable Vector s (LCM a) -> ST s (Vector (LCM a)) basicUnsafeThaw :: Vector (LCM a) -> ST s (Mutable Vector s (LCM a)) basicLength :: Vector (LCM a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (LCM a) -> Vector (LCM a) basicUnsafeIndexM :: Vector (LCM a) -> Int -> Box (LCM a) basicUnsafeCopy :: Mutable Vector s (LCM a) -> Vector (LCM a) -> ST s () | |
Unbox a => MVector MVector (LCM a) Source # | |
Defined in Data.Monoid.LCM basicLength :: MVector s (LCM a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (LCM a) -> MVector s (LCM a) basicOverlaps :: MVector s (LCM a) -> MVector s (LCM a) -> Bool basicUnsafeNew :: Int -> ST s (MVector s (LCM a)) basicInitialize :: MVector s (LCM a) -> ST s () basicUnsafeReplicate :: Int -> LCM a -> ST s (MVector s (LCM a)) basicUnsafeRead :: MVector s (LCM a) -> Int -> ST s (LCM a) basicUnsafeWrite :: MVector s (LCM a) -> Int -> LCM a -> ST s () basicClear :: MVector s (LCM a) -> ST s () basicSet :: MVector s (LCM a) -> LCM a -> ST s () basicUnsafeCopy :: MVector s (LCM a) -> MVector s (LCM a) -> ST s () basicUnsafeMove :: MVector s (LCM a) -> MVector s (LCM a) -> ST s () basicUnsafeGrow :: MVector s (LCM a) -> Int -> ST s (MVector s (LCM a)) | |
(Num a, Integral a) => Monoid (LCM a) Source # | |
Integral a => Semigroup (LCM a) Source # | |
Show a => Show (LCM a) Source # | |
Eq a => Eq (LCM a) Source # | |
Unbox a => Unbox (LCM a) Source # | |
Defined in Data.Monoid.LCM | |
newtype MVector s (LCM a) Source # | |
Defined in Data.Monoid.LCM | |
newtype Vector (LCM a) Source # | |
Defined in Data.Monoid.LCM |