IL you can build a somewhat non leaky composable shell without any kind of type wizardry: https://skarnet.org/software/execline/All jokes aside, this is a pretty nice shell library! Special kudos on the variables and block management; I really like it!