Two simple functions:

* scale wraps a common smap idiom
* defstream is a shortcut for (def foo (sdo ..))