
6 Nov
2007
6 Nov
'07
2:24 p.m.
Hello Andrew, Tuesday, November 6, 2007, 9:34:34 PM, you wrote:
It used to be easier with OOP. I'm still not quite sure how to pick the best possible abstractions in an FP context...
for me, abstraction is anything that i want to be an abstraction. i just write code in the close-to-natural language and it becomes Haskell program when appropriate syntax applied. say, i want to display archive listing. i write: dir <- readDir archive listing = map listfile dir print$ [header]++listing++[footer] then i write definitions of readDir, listfile and so on in the same manner -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com