Right and left folds in Python and Haskell

A “fold” is a fundamental primitive in defining operations on data structures;
it’s particularly important in functional languages where recursion is the
default tool to express repetition. In this article I’ll present how left and
right folds work and ho… Read more

Similar

What’s New in Python 3.11

Release, 3.11.1,, Date, January 11, 2023,, Editor, Pablo Galindo Salgado,. This article explains the new features in Python 3.11, compared to 3.10. For full details, see the changelog. Summary – Re... (more…)

Read more »

Eventloop Sidecar in Python

A command pattern that I’ve used in multiple projects is an event-loop sidecar. The sidecar runs on it’s own thread and does asynchronous IO; thereby increasing the responsiveness of the system which could be doing IO/CPU bound work. The application (runn... (more…)

Read more »