They know how to recursively define the elemindices function, pre-defined in Prelude.
I defined it in a way, but it does not give the expected result.
myElemIndices :: Eq a => a -> [a] -> [Int]
myElemIndices x [] = []
myElemIndices x...
asked by
17.10.2017 / 22:16