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