POV-Ray : Newsgroups : povray.off-topic : Why is Haskell interesting? : Re: Why is Haskell interesting? Server Time
4 Sep 2024 09:16:41 EDT (-0400)
  Re: Why is Haskell interesting?  
From: Darren New
Date: 26 Feb 2010 12:18:53
Message: <4b88027d$1@news.povray.org>
Invisible wrote:
>   (I believe Lisp macros can
> generate code at runtime, however, which TH definitely cannot do.)

I don't think macros are still around at runtime. What they *can* do is read 
user input at compile time, so you can (for example) make up new kinds of 
literals.

Assume Haskell doesn't have the "0xABC" kind of syntax for hex literals. 
Could you add that with Haskell, or TH?

-- 
Darren New, San Diego CA, USA (PST)
   The question in today's corporate environment is not
   so much "what color is your parachute?" as it is
   "what color is your nose?"


Post a reply to this message

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