thyme-0.3.5.5: A faster time library

Safe Haskell | None
Language | Haskell2010

Data.Thyme.Internal.Micro

Description

FOR INTERNAL USE ONLY.

# Documentation

newtype Micro Source #

Constructors

Micro Int64 |

#### Instances

Instances details

Bounded Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods minBound :: Micro maxBound :: Micro
Enum Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods succ :: Micro -> Micro pred :: Micro -> Micro toEnum :: Int -> Micro fromEnum :: Micro -> Int enumFrom :: Micro -> [Micro] enumFromThen :: Micro -> Micro -> [Micro] enumFromTo :: Micro -> Micro -> [Micro] enumFromThenTo :: Micro -> Micro -> Micro -> [Micro]
Eq Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods (==) :: Micro -> Micro -> Bool (/=) :: Micro -> Micro -> Bool
Fractional Micro |
Instance details Defined in Data.Thyme.Time Methods (/) :: Micro -> Micro -> Micro recip :: Micro -> Micro fromRational :: Rational -> Micro
Data Micro Source # |

Instance details

Defined in Data.Thyme.Internal.Micro

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Micro -> c Micro

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Micro

toConstr :: Micro -> Constr

dataTypeOf :: Micro -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Micro)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Micro)

gmapT :: (forall b. Data b => b -> b) -> Micro -> Micro

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Micro -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Micro -> r

gmapQ :: (forall d. Data d => d -> u) -> Micro -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Micro -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Micro -> m Micro

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Micro -> m Micro

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Micro -> m Micro

Num Micro |
Instance details Defined in Data.Thyme.Time Methods (+) :: Micro -> Micro -> Micro (-) :: Micro -> Micro -> Micro (*) :: Micro -> Micro -> Micro negate :: Micro -> Micro abs :: Micro -> Micro signum :: Micro -> Micro fromInteger :: Integer -> Micro
Ord Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods compare :: Micro -> Micro -> Ordering (<) :: Micro -> Micro -> Bool (<=) :: Micro -> Micro -> Bool (>) :: Micro -> Micro -> Bool (>=) :: Micro -> Micro -> Bool max :: Micro -> Micro -> Micro min :: Micro -> Micro -> Micro
Read Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods readsPrec :: Int -> ReadS Micro readList :: ReadS [Micro] readPrec :: ReadPrec Micro readListPrec :: ReadPrec [Micro]
Real Micro |
Instance details Defined in Data.Thyme.Time Methods toRational :: Micro -> Rational
RealFrac Micro |
Instance details Defined in Data.Thyme.Time Methods properFraction :: Integral b => Micro -> (b, Micro) truncate :: Integral b => Micro -> b round :: Integral b => Micro -> b ceiling :: Integral b => Micro -> b floor :: Integral b => Micro -> b
Show Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods showsPrec :: Int -> Micro -> ShowS show :: Micro -> String showList :: [Micro] -> ShowS
Ix Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods range :: (Micro, Micro) -> [Micro] index :: (Micro, Micro) -> Micro -> Int unsafeIndex :: (Micro, Micro) -> Micro -> Int inRange :: (Micro, Micro) -> Micro -> Bool rangeSize :: (Micro, Micro) -> Int unsafeRangeSize :: (Micro, Micro) -> Int
Generic Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Associated Types type Rep Micro :: Type -> Type Methods from :: Micro -> Rep Micro x to :: Rep Micro x -> Micro
Arbitrary Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods arbitrary :: Gen Micro Source # shrink :: Micro -> [Micro] Source #
CoArbitrary Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods coarbitrary :: Micro -> Gen b -> Gen b Source #
Random Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods randomR :: RandomGen g => (Micro, Micro) -> g -> (Micro, g) Source # random :: RandomGen g => g -> (Micro, g) Source # randomRs :: RandomGen g => (Micro, Micro) -> g -> [Micro] Source # randoms :: RandomGen g => g -> [Micro] Source # randomRIO :: (Micro, Micro) -> IO Micro Source # randomIO :: IO Micro Source #
Unbox Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro
HasBasis Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Associated Types type Basis Micro Source # Methods basisValue :: Basis Micro -> Micro Source # decompose :: Micro -> [(Basis Micro, Scalar Micro)] Source # decompose' :: Micro -> Basis Micro -> Scalar Micro Source #
VectorSpace Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Associated Types type Scalar Micro Source # Methods (*^) :: Scalar Micro -> Micro -> Micro Source #
AdditiveGroup Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods zeroV :: Micro Source # (^+^) :: Micro -> Micro -> Micro Source # negateV :: Micro -> Micro Source # (^-^) :: Micro -> Micro -> Micro Source #
NFData Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro Methods rnf :: Micro -> ()
Vector Vector Micro Source # |

Instance details

Defined in Data.Thyme.Internal.Micro

Methods

basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Micro -> m (Vector Micro) Source #

basicUnsafeThaw :: PrimMonad m => Vector Micro -> m (Mutable Vector (PrimState m) Micro) Source #

basicLength :: Vector Micro -> Int Source #

basicUnsafeSlice :: Int -> Int -> Vector Micro -> Vector Micro Source #

basicUnsafeIndexM :: Monad m => Vector Micro -> Int -> m Micro Source #

basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Micro -> Vector Micro -> m () Source #

elemseq :: Vector Micro -> Micro -> b -> b Source #

MVector MVector Micro Source # |

Instance details

Defined in Data.Thyme.Internal.Micro

Methods

basicLength :: MVector s Micro -> Int Source #

basicUnsafeSlice :: Int -> Int -> MVector s Micro -> MVector s Micro Source #

basicOverlaps :: MVector s Micro -> MVector s Micro -> Bool Source #

basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Micro) Source #

basicInitialize :: PrimMonad m => MVector (PrimState m) Micro -> m () Source #

basicUnsafeReplicate :: PrimMonad m => Int -> Micro -> m (MVector (PrimState m) Micro) Source #

basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Micro -> Int -> m Micro Source #

basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Micro -> Int -> Micro -> m () Source #

basicClear :: PrimMonad m => MVector (PrimState m) Micro -> m () Source #

basicSet :: PrimMonad m => MVector (PrimState m) Micro -> Micro -> m () Source #

basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Micro -> MVector (PrimState m) Micro -> m () Source #

basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Micro -> MVector (PrimState m) Micro -> m () Source #

basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Micro -> Int -> m (MVector (PrimState m) Micro) Source #

type Rep Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro type Rep Micro = D1 ('MetaData "Micro" "Data.Thyme.Internal.Micro" "thyme-0.3.5.5-8yk8awDjzEHHYSq2xJCwO3" 'True) (C1 ('MetaCons "Micro" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64)))
newtype Vector Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro newtype Vector Micro = V_Micro (Vector Int64)
type Basis Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro type Basis Micro = ()
type Scalar Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro type Scalar Micro = Rational
newtype MVector s Micro Source # |
Instance details Defined in Data.Thyme.Internal.Micro newtype MVector s Micro = MV_Micro (MVector s Int64)

microQuotRem :: Micro -> Micro -> (Int64, Micro) Source #

microDivMod :: Micro -> Micro -> (Int64, Micro) Source #