Portability | portable |
---|---|
Stability | provisional |
Maintainer | Johan Kiviniemi <devel@johan.kiviniemi.name> |
Safe Haskell | Safe-Inferred |
Documentation
A container for a possibly cyclic list.
>>>
toList (NonCyc "hello")
"hello"
>>>
take 70 (toList (Cyc "prefix " 'c' "ycle"))
"prefix cyclecyclecyclecyclecyclecyclecyclecyclecyclecyclecyclecyclecyc"