POV-Ray : Newsgroups : povray.off-topic : A Haskell question... : Re: A Haskell question... Server Time
10 Oct 2024 21:17:10 EDT (-0400)
  Re: A Haskell question...  
From: Warp
Date: 4 Feb 2008 04:54:50
Message: <47a6e0ea@news.povray.org>
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

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