Given [1,2,3], I wrote the following to get [[1],[2],[3]]:ghci> map return [1,2,3] :: [[Int]][[1],[2],[3]]Is this usage of return idiomatic in Haskell? I'm asking since I could've also used pure instead.
Function to Map `[a] -> [[a]]`
haskell