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
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
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
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