Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Structure for saving a timestamp and a value.
- newtype TimedValue = TimedValue (ForeignPtr TimedValue)
- newZeroTimedValue :: MonadIO m => m TimedValue
- noTimedValue :: Maybe TimedValue
- timedValueReadTimestamp :: TimedValue -> IO Word64
- timedValueReadValue :: TimedValue -> IO Double
Exported types
newtype TimedValue Source
((~) * info (ResolveTimedValueMethod t TimedValue), MethodInfo * info TimedValue p) => IsLabel t (TimedValue -> p) Source | |
((~) * info (ResolveTimedValueMethod t TimedValue), MethodInfo * info TimedValue p) => IsLabelProxy t (TimedValue -> p) Source | |
newZeroTimedValue :: MonadIO m => m TimedValue Source
Construct a TimedValue
struct initialized to zero.