User blog comment:B1mb0w/Generalised S Function/@comment-32783837-20180117145941

can this be further generalized to arbitrary numbers of entries somehow?