I am trying to walk through the functions in Data.List
of the Haskell stardard library and get an error when trying "permutations". What am I missing here? Thanks.
Prelude> map (\b-> b*b) [1,2,3]
[1,4,9]
Prelude> permutations "abc"
<interactive>:1:0: Not in scope: `permutations'