Copyright | © StrIoT maintainers 2021 |
---|---|
License | Apache 2.0 |
Maintainer | StrIoT maintainers |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The StrIoT fundamental data types. and functions that operate on them. Import this module to write simple programs directly in terms of these operators and types.
Documentation
The fundamental atom within StrIoT is the Event
type, which
encapsulates either a datum, or the time of an occurence, or both.
Instances
Arbitrary a => Arbitrary (Event a) | |
Generic (Event alpha) Source # | |
Read alpha => Read (Event alpha) Source # | |
Show alpha => Show (Event alpha) Source # | |
Eq alpha => Eq (Event alpha) Source # | |
Ord alpha => Ord (Event alpha) Source # | |
Defined in Striot.FunctionalIoTtypes | |
Store alpha => Store (Event alpha) Source # | |
type Rep (Event alpha) Source # | |
Defined in Striot.FunctionalIoTtypes type Rep (Event alpha) = D1 ('MetaData "Event" "Striot.FunctionalIoTtypes" "striot-0.1.1.0-6Q87NbqvyomLXCKNL92wA5" 'False) (C1 ('MetaCons "Event" 'PrefixI 'True) (S1 ('MetaSel ('Just "time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Timestamp)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe alpha)))) |