OrdB -package:streamly-core
Types with inequality. Minimum definition: '(<*)'.
Remove the duplicates from a list using the provided comparison
function.
A version of
disjointOrd with a custom predicate.
disjointOrdBy (compare `on` (`mod` 7)) [1,2,3] [4,5] == True
disjointOrdBy (compare `on` (`mod` 7)) [1,2,3] [4,8] == False
A version of
nubOrd with a custom predicate.
nubOrdBy (compare `on` length) ["a","test","of","this"] == ["a","test","of"]
nubOrdBy for
NonEmpty. Behaves the same as
nubOrdBy.
Data.List.NonEmpty.Extra.nubOrdBy (compare `on` Data.List.length) ("a" :| ["test","of","this"]) == "a" :| ["test","of"]
A convenient alias for common type signatures
A value containing the body of the log record. Can be for example a
human-readable string message (including multi-line) describing the
event in a free form or it can be a structured data composed of arrays
and maps of other values. Body MUST support any type to preserve the
semantics of structured logs emitted by the applications. Can vary for
each occurrence of the event coming from the same source. This field
is optional.
Type any Value of type any can be one of the following: - A scalar
value: number, string or boolean, - A byte array, - An array (a list)
of any values, - A map
any.
Get the value of the “
is_word_boundary” field. When
overloading is enabled, this is equivalent to
get logAttr #isWordBoundary
Set the value of the “
is_word_boundary” field. When
overloading is enabled, this is equivalent to
set logAttr [ #isWordBoundary := value ]
Delete backward whitespace or non-whitespace depending on the
character before point.