POV-Ray : Newsgroups : povray.off-topic : Programming language discussion : Re: Programming language discussion Server Time
4 Sep 2024 01:13:51 EDT (-0400)
  Re: Programming language discussion  
From: Warp
Date: 27 Oct 2010 13:00:16
Message: <4cc85aa0@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> In Haskell, "unions" are a fundamental part of the language. One of the 
> fundamental branching primitives is based on them. Nullable fields use 
> unions, lists are unions, trees are unions, just about everything ends 
> up being a union. [Insert witty Thatcher jokes here.]

  I'm not exactly sure if your concept of "union" is the same as C's
concept of "union". A union in C has a fixed size. It's not a dynamic
data container, like a list or a tree.

-- 
                                                          - Warp


Post a reply to this message

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