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:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to