DFNS

A direct function (dfn, pronounced "dee fun") is an alternative way to define a function and operator (a higher-order function) in the programming language APL. A direct operator can also be called a dop (pronounced "dee op"). They were invented by John Scholes in 1996. They are a unique combination of array programming, higher-order function, and functional programming, and are a major distinguishing advance of early 21st century APL over prior versions. A dfn is a sequence of possibly guarded expressions (or just a guard) between { and }, separated by ⋄ or new-lines, wherein ⍺ denotes the left argument and ⍵ the right, and ∇ denotes recursion (function self-reference). For example, the function PT tests whether each row of ⍵ is a Pythagorean triplet (by testing whether the sum of squares equals twice the square of the maximum). The factorial function as a dfn:

Black Hoodie Champ - 2022-10-21T00:00:00.000000Z

Similar Artists

Zoolay

Cashmere P

RoY.

Ray Robinson

Silence Monk

D.I.O.R

JM

Syd in the Middle

Myrts Son

CrossLakes

Trife Majors

Toine

Ed Rowe

Trey_Nostalgia

Kayla Macias

CALiENS

Cleanwater Jenkin$

Yamin Semali

Pete the Dark Truth

Vese