How and where do I define and use custom functions?
Let's say I have a crazy idea for a new pattern transformer, or maybe I just want to create a shortcut for a typical chain of transformers that I use a lot. How do I create a custom function to do this? Where do I type this code, and how do I make sure that the function is loaded before using it?
Example. Instead of typing this:
d1 $ every 2 (rev . stut 4 0.25 0.125) $ s "bd cp bd*2 cp"
I want to type this:
d1 $ every 2 (revstut) $ s "bd cp bd*2 cp"