POV-Ray : Newsgroups : povray.off-topic : Pointless but satisfying : Re: Pointless but satisfying Server Time
5 Sep 2024 13:09:50 EDT (-0400)
  Re: Pointless but satisfying  
From: Invisible
Date: 17 Jul 2009 06:23:39
Message: <4a60512b$1@news.povray.org>
Orchid XP v8 wrote:
> The first major task is to write an expression parser. This is 
> *drastically* less trivial than it sounds! (Currently my parser 
> understands only a fraction of Haskell's full syntax. The bare minimum 
> to parse useful expressions.)

Oh *man*... The more I read into this, the more I discover that Haskell 
is way, way more flexible than I thought! o_O

For example, you're allowed to give fixity declarations for local 
variables. I thought it was only permitted for top-level variables, but 
no, apparently every let-expression can contain fixity declarations and 
type signatures. So much for a let-binding just being a list of 
variables and what they're bound to. :-P


Post a reply to this message

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