When you have a state machine (or an actor) and you’re threading its state in a named ‘let’ with many variables, writing those recursive calls can quickly become tedious.
I came up with a pretty nice macro to help with that:
https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=01db6552f9f70c4a5fff32831c04d75313fb57a4
It can be thought of as a named ‘let’ with named arguments.
tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.