[Haskell-cafe] Circular pure data structures?

John Ky newhoggy at gmail.com
Tue Jul 14 18:27:04 EDT 2009


Hello,

Is it possible to create a circular pure data structure in Haskell?  For
example:

a :: Data

let b = getNext a
let c = getNext b

c == a -- Gives True

Thanks,

-John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090714/935a68a6/attachment.html


More information about the Haskell-Cafe mailing list