partial_function (cargo): A clean way to define function as a set of subfunctions where each has defined start and end bounds. 
Keywords: curve|function|partial