Safe Haskell | None |
---|---|
Language | GHC2021 |
Provides the Timeout
type.
Synopsis
- newtype Timeout = MkTimeout {}
- parseTimeout :: (Alternative f, MonadFail f) => f Natural -> f Text -> f Timeout
- parseTimeoutStr :: MonadFail f => Text -> f Timeout
Documentation
Represents a timeout, which is a non-negative integer.
Instances
Num Timeout Source # | |
Show Timeout Source # | |
Eq Timeout Source # | |
Ord Timeout Source # | |
Defined in Shrun.Configuration.Data.Core.Timeout | |
DecodeTOML Timeout Source # | |
Defined in Shrun.Configuration.Data.Core.Timeout | |
(k ~ An_Iso, a ~ Natural, b ~ Natural) => LabelOptic "unTimeout" k Timeout Timeout a b Source # | |
Defined in Shrun.Configuration.Data.Core.Timeout |
parseTimeout :: (Alternative f, MonadFail f) => f Natural -> f Text -> f Timeout Source #