[Haskell-cafe] Re: [Haskell] lazy constructors

Serge D. Mechveliani mechvel at botik.ru
Wed Oct 13 06:31:14 EDT 2004


On Wed, Oct 13, 2004 at 09:23:43AM +0100, MR K P SCHUPKE wrote:
> You can only return a list of pair's lazily, not
> a pair of lists. If the two strings are independant, then
> generate each in a separate function, and pair off the 
> results lazily.


No, I have several labeled fields in a record, which are very 
dependent.
As people teach, the costruct of  ~(..,..)  helps for the Pair.
Maybe, the labeled record can also be handled ...

-----------------
Serge Mechveliani
mechvel at botik.ru
 


More information about the Haskell-Cafe mailing list