Re: encapsulation

2002-07-07 Thread Ashley Yakeley
At 2002-07-07 16:30, Andrew J Bromage wrote: >It _is_ a matter of opinion, and people can agree to disagree on these >points. What it boils down to is: What do you _want_ from >encapsulation? I think it's a homework question... -- Ashley Yakel

Re: encapsulation

2002-07-07 Thread Andrew J Bromage
rations. It _is_ a matter of opinion, and people can agree to disagree on these points. What it boils down to is: What do you _want_ from encapsulation? Encapsulation adds nothing in the way of expressiveness, since every well-encapsulated program can be transplanted into a language which is

encapsulation

2002-07-07 Thread Tom Pledger
Mark Fielder writes: | How does Haskell provide encapsulation? What mechanisms does it | use? The ways that spring to mind are modules and nested declarations: http://haskell.cs.yale.edu/onlinereport/modules.html http://haskell.cs.yale.edu/onlinereport/decls.html#sect4.4 | What are

encapsulation

2002-07-07 Thread Mark Fielder
How does Haskell provide encapsulation? What mechanisms does it use? What are Haskell's encapsulation strengths and weaknesses? Thanks for the help! Mark __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yaho