POV-Ray : Newsgroups : povray.off-topic : Programming language discussion : Re: Programming language discussion Server Time
3 Sep 2024 23:29:18 EDT (-0400)
  Re: Programming language discussion  
From: Orchid XP v8
Date: 28 Oct 2010 15:26:37
Message: <4cc9ce6d$1@news.povray.org>
>> Yeah, I should have been clearer about that. A list *node* is a union. A
>> tree *node* is a union.
>
>    What would the harm be if eg. list nodes were structs instead?

Perhaps I should elaborate further:

I'm not attempting to argue that unions are such a fundamental feature 
that every programming language should have them. I'm just pointing out 
that *in Haskell* they are extremely fundamental. Which, clearly, is a 
different statement.

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