mirror of
https://github.com/dhil/phd-dissertation
synced 2026-03-13 02:58:26 +00:00
Spell out anonymous function notation
This commit is contained in:
@@ -2325,7 +2325,10 @@ synonymous.
|
|||||||
|
|
||||||
For a function $f : A \to B$ (or partial function $f : A \pto B$) we
|
For a function $f : A \to B$ (or partial function $f : A \pto B$) we
|
||||||
write $f(a) = b$ to mean $(a, b) \in f$, and say that $f$ applied to
|
write $f(a) = b$ to mean $(a, b) \in f$, and say that $f$ applied to
|
||||||
$a$ returns $b$. The notation $f(a)$ means the application of $f$ to
|
$a$ returns $b$. We write $f(P) \defas M$ for the definition of a
|
||||||
|
function with pattern $P$ and expression $M$, and sometimes we will
|
||||||
|
use the anonymous notation $P \mapsto M$ to mean $f(P) \defas M$ for
|
||||||
|
some fresh $f$. The notation $f(a)$ means the application of $f$ to
|
||||||
$a$, and we say that $f(a)$ is defined whenever $f(a) = b$ for some
|
$a$, and we say that $f(a)$ is defined whenever $f(a) = b$ for some
|
||||||
$b$.
|
$b$.
|
||||||
%
|
%
|
||||||
|
|||||||
Reference in New Issue
Block a user