CurryInfo: currypp-3.2.0 / Main.replaceOptionsLine

definition: Info
 
replaceOptionsLine :: String -> String
replaceOptionsLine = unlines . map replOptLine . lines
 where
  replOptLine s =
    if isOptionLine s && "currypp" `isInfixOf` s
      then "{-# DO NOT EDIT THIS FILE SINCE IT IS AUTO-GENERATED BY CURRYPP #-}"
      else s
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Replace OPTIONS_FRONTEND / OPTIONS_CYMAKE line containing currypp call
in a source text by blank line (to avoid recursive calls):
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {() |-> {.._#lambda508}}
name: Info
 replaceOptionsLine
precedence: Info
 no precedence defined
result-values: Info
 {.._#lambda508}
signature: Info
 String -> String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms