14 May
2001
14 May
'01
12:05 p.m.
Andy Fugard <andyfugard@eircom.net> writes
Hi all,
I'm currently teaching myself a little Haskell. This morning I coded the following, the main function of which, permutate, returns all the permutations of a list. (Well it seems to at least!)
[..]
The BAL library implements several operations with permutations. In particular, it can list permutations by applying nextPermutation. You may look into the source and demonstration example: http://www.botik.ru/pub/local/Mechveliani/basAlgPropos/ ----------------- Serge Mechveliani mechvel@botik.ru