It looks like you are using an old version of liquidsoap. In version `1.1.1`,
`list.remove_assoc` was not as generic and could only process lists of the
type: `[(string*string)]`.
However, you can rewrite the operator this way:
```
def list.remove_assoc(label, l) =
def f(result,element) =
current_label = fst(element)
if current_label == label then
result
else
list.add(element,result)
end
end
list.fold(f,[],l)
end
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/628#issuecomment-437739035
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users