Hello Joachim,

Friday, December 22, 2006, 2:30:32 AM, you wrote:

>> There is an interesting technique thay allows you to serialize infinite,
>> lazy or functional values: don't try to describe how those values look,
>> but how they came to be.

> Ah, that's an interesting approach that I haven't thought of.

i'm don't sure that Tomasz means, but at least me imagined smth like
the following:

data Struct = Struct { a::Int,
                       b::Int
                     }

c (Struct a b) = (a*)

i.e. datastructure contains only non-functional fields which includes all
necessary arguments for virtual functional fields


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to