Ejemplo n.º 1
0
        public Symbol FabricWithScope(ImmutableList <Symbol> newTail)
        {
            TailHolderSymbol s = Fabric(newTail);

            s.Scope = Scope;

            return(s);
        }
Ejemplo n.º 2
0
        protected bool TailEquals(TailHolderSymbol other)
        {
            if (other.Tail.Count != Tail.Count)
            {
                return(false);
            }

            return(!Tail.Where((t, i) => !t.Equals(other.Tail[i])).Any());
        }