⟦X→Y⟧
From CS2800 wiki
Since functions are things, we can consider sets of functions, and we can even create functions whose domain and codomain are themselves sets of functions
Note: I usually use the notation [X → Y], but it interferes with the wiki formatting, so I will use
in the wiki. You may use either notation.For example, if functions:
and , then would contain four- One taking both and to
- One taking both and to
- One taking both to and to
- One taking both to and to
It might be drawn this way (for example, to draw it as the domain of another function):