-- Assumes string has been converted to a comma-separated list of
-- terminal symbols corresponding to transformations.
buildXfm _ f []       = f : []
buildXfm _ f []       = f : []
buildXfm _ f []       = f : []