J combines 2 verbs (either built-in or user-defined) using hooks, and these work differently when called with either 1 or 2 arguments. For example, to convert a list of numbers to proportions of the sum, we can define the hook
prop =: % +/
+/ sums the array to the right (/ inserts the verb to its left (+) between the numbers in the array) and % (divide) takes the list of numbers and divides each of them by the sum.
prop 3 1 10 7 9
0.1 0.0333333 0.333333 0.233333 0.3
#jlang #jtoots