|
From: | Felix Winkelmann |
Subject: | Re: [Chicken-users] need idea for read-syntax |
Date: | Thu, 20 Nov 2003 07:01:07 +0100 |
User-agent: | Opera7.21/Win32 M2 build 3218 |
felix <address@hidden> writes:Personally, I don't care much wether it's #{ ... }# or #[ ... ]#. The problem with the former is that it would some changes to the compiler (which uses it extensibly for another hackish purpose), and that would cause a bootstrapping problem (not serious, though). The problem with the latter is that the association with embedded C code seems a bit far-fetched.Like #> ... <#? =)
Hm. You have a point. ;-)
How about this: statement sequence: #{ ... }# typed value: #{[c-string] var}#
Yes, that's going to be it, I guess. But I'm also tending to leave it out entirely...
Absolutely. I use [] quite a lot as a replacement for normal parens, especially when nesting gets deep: (let-values ([(x y z) ...]) ...) appears to be more readable (for me) than (let-values (((x y z) ...)) ...)I agree, but I also think that let-values is a worst-case example.
It is. But also in cases like (let ([foo 1] [bar 2]) ...) it helps me keep the parens/brackets properly balanced. But in the end it's just s personal style issue. cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |