-record(prompt, { operation :: fun((binary(), integer()) -> {ok, any()} | {error, any()}) }).