RosettaCodeData/Task/Call-a-function/Bracmat/call-a-function-9.bracmat

11 lines
176 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
( ( plus
= a b
. !arg:%?a ?b
& !b:
& '(.!arg+$a)
| !a+!b
)
& out$("1+2, not partial:" plus$(1 2))
& out$("1+2, partial:" (plus$1)$2)
);