Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

A recursive function to get permutation of a list

Originally published: 2006-06-23 14:00:51
Last updated: 2006-06-30 00:03:39
Author: Wensheng Wang

I saw a lot of implementations that doesn't work on list with repeated items. For example: [3,3,"hello","hello"] This recipe show such function that works on any list. (update 6/29/06) added generator version permu2(xs).