definition: |
checkExportLines :: ExportSpec -> Bool checkExportLines es = case es of (Exporting (SpanInfo _ sp@((Span (Position _ c) _):_)) _) -> checkAlign $ c:(getListOfNewLineStart(sp)) _ -> False where checkAlign :: [Int] -> Bool checkAlign [] = True checkAlign (_:[]) = True checkAlign (i1:i2:is) = (i1==i2) && (checkAlign (i2:is)) |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
-- Checks if lines are aligned. |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({Exporting}) |-> _} |
name: |
checkExportLines |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
Curry.Types.ExportSpec -> Prelude.Bool |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
reducible on all ground data terms |