DIY Basic Combinators

Before you start, make sure you have a circle function in your toolbox!

Background

The beside, above, and overlay functions in PyTamaro are not really necessary. The pin and compose functions are enough to express everything one can express with the other three.

In this activity, we convince ourselves of this, by using a DIY approach: we implement beside, above, and overlay ourselves, using only pin and compose.

DIY beside

DIY beside

Loading...

DIY above

DIY above

Loading...

DIY overlay

DIY overlay

Loading...

This activity has been created by LuCE Research Lab and is licensed under CC BY-SA 4.0.

DIY Basic Combinators

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version f5b96bc (Sun, 04 Jan 2026 17:27:49 GMT)