예제 #1
0
        public static Atom Or(Atom args, Context context)
        {
            CheckAllNumbers(args);
            object res = ((Atom)args?.value).value;

            for (Atom iter = args.next; iter != null; iter = iter.next)
            {
                res = UNumber.Or(res, ((Atom)iter.value).value);
            }
            return(new Atom(AtomType.Number, res));
        }