Namespace: Hedgehog
Assembly: Hedgehog.dll
Modules | Description |
Function or value | Description |
|
Get the extents of a range, for a given size.
|
Full Usage:
constant lowerBound upperBound
Parameters:
'a
upperBound : 'a
Returns: Range<'a>
|
Construct a range which is unaffected by the size parameter.
|
|
Construct a range which is unaffected by the size parameter using the full range of a data type.
|
Full Usage:
constantFrom origin lowerBound upperBound
Parameters:
'a
lowerBound : 'a
upperBound : 'a
Returns: Range<'a>
|
Construct a range which is unaffected by the size parameter with a origin point which may differ from the bounds.
|
Full Usage:
exponential lowerBound upperBound
Parameters:
^a
upperBound : ^a
Returns: Range<^a>
|
Construct a range which scales the second bound exponentially relative to the size parameter.
|
|
Construct a range which is scaled exponentially relative to the size parameter and uses the full range of a data type.
|
Full Usage:
exponentialFrom origin lowerBound upperBound
Parameters:
^a
lowerBound : ^a
upperBound : ^a
Returns: Range<^a>
|
Construct a range which scales the bounds exponentially relative to the size parameter.
|
Full Usage:
linear lowerBound upperBound
Parameters:
^a
upperBound : ^a
Returns: Range<^a>
|
Construct a range which scales the second bound relative to the size parameter.
|
|
Construct a range which is scaled relative to the size parameter and uses the full range of a data type.
|
Full Usage:
linearFrom origin lowerBound upperBound
Parameters:
^a
lowerBound : ^a
upperBound : ^a
Returns: Range<^a>
|
Construct a range which scales the bounds relative to the size parameter.
|
|
Get the lower bound of a range for the given size.
|
|
Map a modification function over a Range.
|
|
Get the origin of a range. This might be the mid-point or the lower bound, depending on what the range represents. The 'bounds' of a range are scaled around this value when using the 'linear' family of combinators. When using a 'Range' to generate numbers, the shrinking function will shrink towards the origin.
|
|
Construct a range which represents a constant single value.
|
|
Get the upper bound of a range for the given size.
|