Currying: Difference between revisions

add BQN
m (Updated description and link for Fōrmulæ solution)
(add BQN)
Line 234:
{{Out}}
<pre>{«script», «script», 5, {7, 14, 21, 28, 35, 42, 49, 56, 63, 70}}</pre>
 
=={{header|BQN}}==
All BQN functions can only take 2 arguments, signified by <code>𝕨</code> and <code>𝕩</code> in block definitions. Hence, currying is largely done with the help of combinators like Before(<code>⊸</code>) and After(<code>⟜</code>).
 
Adapted from [[Currying#J|J]].
<lang bqn>Plus3 ← 3⊸+
Plus3_1 ← +⟜3
 
•Show Plus3 1
•Show Plus3_1 1</lang>
<lang>4
4</lang>
 
 
 
=={{header|C}}==
236

edits