POV-Ray : Newsgroups : povray.off-topic : A Haskell question... : Re: A Haskell question... Server Time
10 Oct 2024 21:14:14 EDT (-0400)
  Re: A Haskell question...  
From: Invisible
Date: 4 Feb 2008 04:56:00
Message: <47a6e130$1@news.povray.org>
Warp wrote:
> 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?

Define "encapsulation".

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.