public static UnifiedTupleLiteral ToTupleLiteral(
     this UnifiedExpression singleton)
 {
     if (singleton == null)
     {
         return(UnifiedTupleLiteral.Create());
     }
     return(UnifiedTupleLiteral.Create(singleton));
 }
        public static UnifiedExpression ToSmartTupleLiteral(
            this IEnumerable <UnifiedExpression> expressions)
        {
            var list = expressions.ToList();

            if (list.Count == 1)
            {
                return(list[0]);
            }
            return(UnifiedTupleLiteral.Create(list));
        }
 public static UnifiedTupleLiteral ToTupleLiteral(
     this IEnumerable <UnifiedExpression> expressions)
 {
     return(UnifiedTupleLiteral.Create(expressions));
 }