definition:
|
isBefore :: Span -> Span -> Bool
isBefore NoSpan NoSpan = False
isBefore (Span {}) NoSpan = False
isBefore NoSpan (Span {}) = False
isBefore (Span _ e) (Span s _) = e <= s
|
demand:
|
arguments 1 2
|
deterministic:
|
deterministic operation
|
documentation:
|
-- | Checks if the first span is completely before the second span.
|
failfree:
|
(_, _)
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({NoSpan},{NoSpan}) |-> {False} || ({NoSpan},{Span}) |-> {False} || ({Span},{NoSpan}) |-> {False} || ({Span},{Span}) |-> _}
|
name:
|
isBefore
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
Span -> Span -> Prelude.Bool
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|