CurryInfo: stylechecker-2.0.0 / Check.AST.Indent.Header.getListOfNewLineStart

definition:
getListOfNewLineStart :: [Span] -> [Int]
getListOfNewLineStart []     = []
getListOfNewLineStart (_:[]) = []
getListOfNewLineStart (s1:s2:sps) = case (s1, s2) of 
  ((Span (Position l1 _) _), (Span (Position l2 c2) _)) | l1 == l2  -> getListOfNewLineStart (s2:sps)
                                                        | otherwise -> c2 : (getListOfNewLineStart (s2:sps))
  _ -> []
demand:
argument 1
deterministic:
deterministic operation
documentation:
-- Gets list of line column start position.
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({[]}) |-> {[]} || ({:}) |-> {:,[]}}
name:
getListOfNewLineStart
precedence:
no precedence defined
result-values:
{:,[]}
signature:
[Curry.Span.Span] -> [Prelude.Int]
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms