RosettaCodeData/Task/Conditional-structures/Nemerle/conditional-structures-2.nemerle
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

6 lines
110 B
Text

match(x)
{
|1 => "x is one"
|x when (x < 5) => "x is less than five"
|_ => "x is at least five"
}