:: element -> [element] -> [element] -package:foundation package:hledger

The intersperse function takes an element and a list and `intersperses' that element between the elements of the list. For example,
>>> intersperse ',' "abcde"
"a,b,c,d,e"
Replace all locations in the input with the same value. The default definition is fmap . const, but this may be overridden with a more efficient version.
delete x removes the first occurrence of x from its list argument. For example,
>>> delete 'a' "banana"
"bnana"
It is a special case of deleteBy, which allows the programmer to supply their own equality test.