3 lines
75 B
Haskell
3 lines
75 B
Haskell
import Data.List (permutations)
|
|
|
|
main = mapM_ print (permutations [1,2,3])
|