CurryInfo: curry-repl-1.2.0 / REPL.Compiler.replaceCompilerOption

definition: Info
 
replaceCompilerOption :: [CCOption] -> CCOptionImpl -> CCOptionImpl
                      -> CCOptionImpl
replaceCompilerOption copts newopt oldopt =
  if tagOfCompilerOption newopt `elem` tagsOfCompilerOption copts oldopt
    then newopt
    else oldopt
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Replaces a compiler option by a compiler option (given as the second
argument) if their tags belong to the same compiler option.
The list of all compiler options a given as the first argument.
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_) |-> _}
name: Info
 replaceCompilerOption
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 [CCOption] -> CCOptionImpl -> CCOptionImpl -> CCOptionImpl
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms