Higher-order functions: Difference between revisions
add BQN
Puppydrum64 (talk | contribs) No edit summary |
(add BQN) |
||
Line 492:
441
</pre>
=={{header|BQN}}==
BQN has built-in support for higher order functions.
A function's name in lowercase can be used to pass it as a subject, rather than a function to be executed.
<lang bqn>Uniq ← ⍷
•Show uniq {𝕎𝕩} 5‿6‿7‿5</lang><lang>⟨ 5 6 7 ⟩</lang>
[https://mlochbaum.github.io/BQN/try.html#code=VW5pcSDihpAg4o23CgrigKJTaG93IHVuaXEge/CdlY7wnZWpfSA14oC/NuKAvzfigL81 Try It!]
=={{header|Bracmat}}==
|