Text this: On a generalisation of the minimal excludant function.