CurryInfo: currydoc-4.0.0 / CurryDoc.Read.splitCommentMain

definition:
 
splitCommentMain :: [String] -> (String,[(String,String)])
splitCommentMain [] = ("",[])
splitCommentMain (l:ls) =
  if l == "" || head l /= '@'
  then let (maincmt,rest) = splitCommentMain ls
        in (l++('\n':maincmt),rest)
  else ([],splitCommentParams (takeWhile isAlpha (tail l))
                              (dropWhile isAlpha (tail l)) ls)
demand:
 argument 1
deterministic:
 deterministic operation
failfree:
 <FAILING>
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {({[]}) |-> {(,)} || ({:}) |-> {(,)}}
name:
 splitCommentMain
precedence:
 no precedence defined
result-values:
 {(,)}
signature:
 [String] -> (String, [(String, String)])
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 possibly non-reducible on same data term