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

Stype.Numeric.Count

Description

 
Synopsis

Documentation

newtype Count Source #

Just a type holding a Natural value.

Constructors

Count Natural 

Instances

Instances details
Eq Count Source # 
Instance details

Defined in Stype.Numeric.Count

Methods

(==) :: Count -> Count -> Bool #

(/=) :: Count -> Count -> Bool #

Num Count Source # 
Instance details

Defined in Stype.Numeric.Count

Ord Count Source # 
Instance details

Defined in Stype.Numeric.Count

Methods

compare :: Count -> Count -> Ordering #

(<) :: Count -> Count -> Bool #

(<=) :: Count -> Count -> Bool #

(>) :: Count -> Count -> Bool #

(>=) :: Count -> Count -> Bool #

max :: Count -> Count -> Count #

min :: Count -> Count -> Count #

Show Count Source # 
Instance details

Defined in Stype.Numeric.Count

Methods

showsPrec :: Int -> Count -> ShowS #

show :: Count -> String #

showList :: [Count] -> ShowS #

Generic Count Source # 
Instance details

Defined in Stype.Numeric.Count

Associated Types

type Rep Count :: Type -> Type #

Methods

from :: Count -> Rep Count x #

to :: Rep Count x -> Count #

Semigroup Count Source # 
Instance details

Defined in Stype.Numeric.Count

Methods

(<>) :: Count -> Count -> Count #

sconcat :: NonEmpty Count -> Count #

stimes :: Integral b => b -> Count -> Count #

Monoid Count Source # 
Instance details

Defined in Stype.Numeric.Count

Methods

mempty :: Count #

mappend :: Count -> Count -> Count #

mconcat :: [Count] -> Count #

Semiring Count Source # 
Instance details

Defined in Stype.Numeric.Count

Methods

one :: Count #

(<.>) :: Count -> Count -> Count #

ToJSON Count Source # 
Instance details

Defined in Stype.Aeson

type Rep Count Source # 
Instance details

Defined in Stype.Numeric.Count

type Rep Count = D1 ('MetaData "Count" "Stype.Numeric.Count" "hasklepias-0.17.0-inplace" 'True) (C1 ('MetaCons "Count" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))

Orphan instances

Semigroup Natural Source # 
Instance details

Monoid Natural Source # 
Instance details

Semiring Natural Source # 
Instance details