Some core stand-alone functions written in a functional style, for when you don't need an entire library.