
22 Dec
2006
22 Dec
'06
6:18 a.m.
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:Bulat.Ziganshin@gmail.com