hi could somebody please explain how everything works in this function? and why is 'list' there? any help will be much apprecited Regards Imran all_rotations :: [a] -> [[a]] all_rotations xs = take (length xs) (iterate list xs) list xs = tail xs ++ [head xs]
------------------------------------------------------------ This mail sent through IMP: http://webmail.brad.ac.uk To report misuse from this email address forward the message and full headers to [EMAIL PROTECTED] ------------------------------------------------------------ _______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
