slice and generic slice for scheme.