Nilpotent pseudogroups of functions on an interval