Copyright | (c) NoviSci Inc 2020 |
---|---|
License | BSD3 |
Maintainer | bsaul@novisci.com |
Safe Haskell | Safe |
Language | Haskell2010 |
Synopsis
- data Continuous a
- = NegContInf
- | Cont a
- | ContInf
- data NonnegContinuous a
- = NonNegCont a
- | NonNegContInf
- newtype EventTime a = EventTime {}
- mkEventTime :: Maybe a -> EventTime a
Documentation
data Continuous a Source #
Data type for continuous numbers.
Instances
data NonnegContinuous a Source #
Data type for nonnegative continuous numbers.
Instances
Data type for event times.
Instances
Eq a => Eq (EventTime a) Source # | |
Ord a => Ord (EventTime a) Source # | |
Defined in Stype.Numeric.Continuous | |
Show a => Show (EventTime a) Source # | |
Generic (EventTime a) Source # | |
ToJSON a => ToJSON (EventTime a) Source # | |
Defined in Stype.Aeson | |
(Ord a, Show a) => Censorable (EventTime a) Source # | |
Defined in Stype.Numeric parseIntervalCensor :: EventTime a -> EventTime a -> Either ParseIntervalError (MaybeCensored (EventTime a)) Source # rightCensor :: EventTime a -> EventTime a -> MaybeCensored (EventTime a) Source # leftCensor :: EventTime a -> EventTime a -> MaybeCensored (EventTime a) Source # | |
type Rep (EventTime a) Source # | |
Defined in Stype.Numeric.Continuous type Rep (EventTime a) = D1 ('MetaData "EventTime" "Stype.Numeric.Continuous" "hasklepias-0.17.0-inplace" 'True) (C1 ('MetaCons "EventTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "getEventTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonnegContinuous a)))) |
mkEventTime :: Maybe a -> EventTime a Source #
Create an event time from a Maybe
.