Describe the bug
The function cycle from Data.List.Linear never terminates
To Reproduce
Load up ghci with
take 5 (Data.List.Linear.cycle ['a','b'])
Expected behavior
It should return "ababa" and terminate. Currently it returns "ababa" but never terminates 🙂.
Environment
GHC 9.4.4 and 9.6.1
Describe the bug
The function
cyclefromData.List.Linearnever terminatesTo Reproduce
Load up
ghciwithExpected behavior
It should return
"ababa"and terminate. Currently it returns"ababa"but never terminates 🙂.Environment
GHC 9.4.4 and 9.6.1