예제 #1
0
 public static Atom Eq(Atom args, Context context)
 {
     CheckAllNumbers(args);
     for (Atom iter = args; iter != null && iter.next != null; iter = iter.next)
     {
         if (!(bool)UNumber.Eq(
                 ((Atom)iter.value).value,
                 ((Atom)iter.next?.value).value))
         {
             return(Atom.FALSE);
         }
     }
     return(Atom.TRUE);
 }