MathWorks has the function seqperiod(x) to return the period of sequence x. Is there an equivalent function in Haskell?


Michael