> > Oh. I haven't learned how to handle infinite data structures yet, but > is init defined for infinite lists in the first place? > > -- > Kaoru Hosokawa > [EMAIL PROTECTED] >
Yes it is, try "init [1..]" in ghci or hugs. It just happens to be the identity function on infinite lists, because of course there is no last element to remove. - Cale _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
