[Haskell-beginners] FFI export lazy list of string

Alexander.Vladislav.Popov alexander.vladislav.popov at gmail.com
Mon Dec 5 09:08:59 CET 2011


Hi, Haskellers.

Advise me please, how I can export lazy and potentially infinite list of
string from Haskell program. I think I must call it iteratively: the first
call initiate some structure and other calls iterate over it, something
like pair of function `find_first' and `find_next'. And how to marshall
this structure between programs. Or think in a wrong way? Does any example
exist how I can make it?

Alexander Popov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20111205/5ec9b77f/attachment.htm>


More information about the Beginners mailing list