CurryInfo: currydoc-4.0.0 / CurryDoc.Read.splitCommentMain

definition: Info
 
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: Info
 argument 1
deterministic: Info
 deterministic operation
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({[]}) |-> {(,)} || ({:}) |-> {(,)}}
name: Info
 splitCommentMain
precedence: Info
 no precedence defined
result-values: Info
 {(,)}
signature: Info
 [String] -> (String, [(String, String)])
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term