CurryInfo: currydoc-4.0.0 / CurryDoc.Read.groupProgLines

definition:
 
groupProgLines :: [SourceLine] -> [(SourceLine,String)]
groupProgLines []                  = []
groupProgLines (Comment cmt : sls) = groupComment cmt sls
groupProgLines (FuncDef f   : sls) = (FuncDef f, "") : skipFuncDefs f sls
groupProgLines (DataDef d   : sls) = (DataDef d, "") : skipDataDefs d sls
groupProgLines (ModDef      : sls) = groupProgLines sls
groupProgLines (OtherLine   : sls) = groupProgLines sls
demand:
 argument 1
deterministic:
 deterministic operation
failfree:
 _
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {({[]}) |-> {[]} || ({:}) |-> {:,[]}}
name:
 groupProgLines
precedence:
 no precedence defined
result-values:
 {:,[]}
signature:
 [SourceLine] -> [(SourceLine, String)]
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 reducible on all ground data terms