Short list with things to finish for D2
Michel Fortin
michel.fortin at michelf.com
Thu Nov 19 17:47:22 PST 2009
On 2009-11-19 16:26:41 -0500, Walter Bright <newshound1 at digitalmars.com> said:
> Unless such have a unique grammar that can be lexed and parsed:
>
> a :string: b
>
> where string is the user defined name, so you can do things like:
>
> a :^^: b
>
> and define your own pow operator. The problem with this approach is the
> sheer ugliness of it.
By the way, if you could omit the parenthesis for a one-argument
function call, you could write things like this:
a .pow b
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list