Orchid XP v7 <voi### [at] devnull> wrote:
> data Point = Point {x, y :: Int}
> Caution: Note that the names "x" and "y" must be unique within the
> entire module. For this reason, you'd probably use longer names.
Doesn't Haskell support encapsulation?
--
- Warp
Post a reply to this message
|