5 Dec 2011 09:08
FFI export lazy list of string
Alexander.Vladislav.Popov <alexander.vladislav.popov <at> gmail.com>
2011-12-05 08:08:59 GMT
2011-12-05 08:08:59 GMT
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
<div> <p>Hi, Haskellers.</p> <div><br></div> <div>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?</div> <div><br></div> <div>Alexander Popov</div> <div><br></div> <div><br></div> </div>
RSS Feed