hasklepias-0.17.0: embedded DSL for defining epidemiologic cohorts
Copyright(c) NoviSci Inc 2020
LicenseBSD3
Maintainerbsaul@novisci.com
Safe HaskellSafe
LanguageHaskell2010

Stype.Numeric.Censored

Description

 
Synopsis

Documentation

data MaybeCensored a where Source #

Data for censored data

Constructors

IntervalCensored :: a -> a -> MaybeCensored a 
RightCensored :: a -> MaybeCensored a 
LeftCensored :: a -> MaybeCensored a 
Uncensored :: a -> MaybeCensored a 

Instances

Instances details
Eq a => Eq (MaybeCensored a) Source # 
Instance details

Defined in Stype.Numeric.Censored

Ord a => Ord (MaybeCensored a) Source # 
Instance details

Defined in Stype.Numeric.Censored

Show a => Show (MaybeCensored a) Source # 
Instance details

Defined in Stype.Numeric.Censored

Generic (MaybeCensored a) Source # 
Instance details

Defined in Stype.Numeric.Censored

Associated Types

type Rep (MaybeCensored a) :: Type -> Type #

ToJSON a => ToJSON (MaybeCensored a) Source # 
Instance details

Defined in Stype.Aeson

type Rep (MaybeCensored a) Source # 
Instance details

Defined in Stype.Numeric.Censored

newtype ParseIntervalError Source #

A type to hold a reason that interval fails to parse.

Constructors

ParseIntervalError Text