2 lines
89 B
Haskell
2 lines
89 B
Haskell
*Main> map (\x -> (x,elemIndices x haystack)) needles
|
|
[("Washington",[]),("Bush",[4,7])]
|