Skip navigation

Function & Actions

A function defines a relation between values, namely the input values and the output values. This relation is timeless.

An action is a sequence of instructions. Whatever relations can be derived from these instructions are accidental and subject to change — there’s not relying on them.

One approach to functions and actions that I like is functions that return actions.

Advertisements

Post a Comment

You must be logged in to post a comment.
%d bloggers like this: