| License | BSD-style |
|---|---|
| Maintainer | Foundation maintainers |
| Safe Haskell | None |
| Language | Haskell2010 |
Foundation.Time.Types
Description
An implementation of a timing framework
Synopsis
- newtype NanoSeconds = NanoSeconds Word64
- newtype Seconds = Seconds Word64
Documentation
newtype NanoSeconds #
An amount of nanoseconds
Constructors
| NanoSeconds Word64 |
Instances
An amount of seconds
Instances
| Additive Seconds # | |||||
| PrimType Seconds # | |||||
Defined in Foundation.Time.Types Associated Types
Methods primSizeInBytes :: Proxy Seconds -> CountOf Word8 # primShiftToBytes :: Proxy Seconds -> Int # primBaUIndex :: ByteArray# -> Offset Seconds -> Seconds # primMbaURead :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset Seconds -> prim Seconds # primMbaUWrite :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset Seconds -> Seconds -> prim () # primAddrIndex :: Addr# -> Offset Seconds -> Seconds # primAddrRead :: PrimMonad prim => Addr# -> Offset Seconds -> prim Seconds # primAddrWrite :: PrimMonad prim => Addr# -> Offset Seconds -> Seconds -> prim () # | |||||
| Bounded Seconds # | |||||
| Enum Seconds # | |||||
| Show Seconds # | |||||
| Eq Seconds # | |||||
| Ord Seconds # | |||||
Defined in Foundation.Time.Types | |||||
| type PrimSize Seconds # | |||||
Defined in Foundation.Time.Types | |||||