They repeatedly name a parameter "callable", but call the function themselves inside string interpolation. This only works out how they need when it's the last parameter.
What would be the correct term instead of "callable"? It seems you have quite a bit of experience with bash. Would you like to help us with the library?