Permutations: Difference between revisions

m (→‎{{header|Tailspin}}: syntax update)
Line 6,103:
</lang>
 
===Functional :: Type-preserving===
The '''itertools.permutations''' function is polymorphic in its inputs but not in its outputs – it discards the type of input lists and strings, coercing all inputs to tuples.
 
9,659

edits