RosettaCodeData/Task/Generic-swap/Ursala/generic-swap.ursala
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

7 lines
168 B
Text

pmgs("x","y") = ("y","x") # the pattern matching way
ugs = ~&rlX # the idiosyncratic Ursala way
#cast %sWL
test = <pmgs ('a','b'),ugs ('x','y')>