CurryInfo: sourceproggui-3.0.0 / SourceProgGUI.splitProgDefs

definition: Info
 
splitProgDefs :: String -> [(String,(Int,Int))]
splitProgDefs ptxt =
  groupFuns (dropWhile (null . fst)
  (deleteAdjacentFuns
   (concatMap
      (\ (mb,i) -> maybe [] (\s->if s `elem` keywords then [] else [(s,i)]) mb)
      (zip (map funDefOfLine (lines ptxt)) [1..]))))
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
-------------------------------------------------------------------------
Extract start and end lines of all function definitions in a program text:
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> {:,[]}}
name: Info
 splitProgDefs
precedence: Info
 no precedence defined
result-values: Info
 {:,[]}
signature: Info
 String -> [(String, (Prelude.Int, Prelude.Int))]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term