|
definition: |
replaceCompilerOption :: [CCOption] -> CCOptionImpl -> CCOptionImpl
-> CCOptionImpl
replaceCompilerOption copts newopt oldopt =
if tagOfCompilerOption newopt `elem` tagsOfCompilerOption copts oldopt
then newopt
else oldopt
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
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: |
(_, _, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,_) |-> _}
|
|
name: |
replaceCompilerOption |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
[CCOption] -> CCOptionImpl -> CCOptionImpl -> CCOptionImpl |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
reducible on all ground data terms |