Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- newtype Range = Range (ManagedPtr Range)
- noRange :: Maybe Range
- rangeCopy :: (HasCallStack, MonadIO m) => Range -> m Range
- rangeFree :: (HasCallStack, MonadIO m) => Range -> m ()
- rangeGetDescription :: (HasCallStack, MonadIO m) => Range -> m Text
- rangeGetLowerLimit :: (HasCallStack, MonadIO m) => Range -> m Double
- rangeGetUpperLimit :: (HasCallStack, MonadIO m) => Range -> m Double
- rangeNew :: (HasCallStack, MonadIO m) => Double -> Double -> Text -> m Range
Exported types
Memory-managed wrapper type.
Methods
Overloaded methods
copy
Returns a new Range
that is a exact copy of src
Since: 2.12
free
:: (HasCallStack, MonadIO m) | |
=> Range |
|
-> m () |
Free range
Since: 2.12
getDescription
:: (HasCallStack, MonadIO m) | |
=> Range |
|
-> m Text | Returns: the human-readable description of |
Returns the human readable description of range
Since: 2.12
getLowerLimit
:: (HasCallStack, MonadIO m) | |
=> Range |
|
-> m Double | Returns: the lower limit of |
Returns the lower limit of range
Since: 2.12
getUpperLimit
:: (HasCallStack, MonadIO m) | |
=> Range |
|
-> m Double | Returns: the upper limit of |
Returns the upper limit of range
Since: 2.12