RosettaCodeData/Task/Command-line-arguments/TXR/command-line-arguments-2.txr
2016-12-05 22:15:40 +01:00

3 lines
146 B
Text

(tree-case *args*
((a b c) (put-line "got three args, thanks!"))
(else (put-line `usage: @(ldiff *full-args* *args*) <arg1> <arg2> <arg3>`)))