Pattern-matching in D

Code



Application output:

3.14159
One arg, of type double with value: 3.1416
Two args (1, abc). I know the second one is a string.
0
More than two args. Isn't life wonderful?
More than two args. Isn't life wonderful?


Paste info


Author: Guest
Views: 87
Private: no
Expires: Never
Uploaded: 24.10.12 20:15
Votes: 0

Compilation


Compiler: DMD 2.060
Pointer size: m64