Alphabet

f:a → b → c
f1:[a] ⟶ b → c
f2:[a × b] ⟶ c

Variables

x:a
y:b

Rules

f · xf1(x)
f1(x) · yf2(x, y)