RosettaCodeData/Task/Generic-swap/Ursala/generic-swap.ursala
2023-07-01 13:44:08 -04: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')>