[nem-en] [RFC] type parens

mike roome arhra at arslinux.com
Fri Sep 24 15:51:52 CEST 2004


> So, there is proposition to change <> to []. So it would be now
> Hashtable[int,string], list[foo] and so on.
>
> We don't feel very good about it -- it will break backward as well as
> C# compatibility, but this seems the only right thing to do. We already
> changed this once from the () parens, and converting the sources
> required lots of perl magic. We are going to provide similar perl magic
> with the 0.3 target release for this feature. It would work in most
> cases probably.

Definite +1 from me. I'm not sure which of [] or () would be the right way
to go (or maybe something else entirely*), but dumping the angle brackets
is definitely an improvement.

* Although most keyboards are annoyingly short of available bracketing
characters (or any symbols that aren't in use, for that matter... the only
ones on my uk keyboard that aren't already used in nemerle are ¬, £, and
`, afaict...). Maybe make everyone learn french, and use «» ? ;)

-- 
mike roome





More information about the devel-en mailing list