definition: |
deleteAdjacentFuns :: [(String,Int)] -> [(String,Int)] deleteAdjacentFuns [] = [] deleteAdjacentFuns [x] = [x] deleteAdjacentFuns ((f1,i1):(f2,i2):xs) = if f1==f2 then deleteAdjacentFuns ((f1,i1):xs) else (f1,i1) : deleteAdjacentFuns ((f2,i2):xs) |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
-- delete subsequent function definitions |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({[]}) |-> {[]} || ({:}) |-> {:,[]}} |
name: |
deleteAdjacentFuns |
precedence: |
no precedence defined |
result-values: |
{:,[]} |
signature: |
[(String, Prelude.Int)] -> [(String, Prelude.Int)] |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
reducible on all ground data terms |