[system] / trunk / pg / lib / Value / Union.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/Value/Union.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5000 Revision 5001
86 return $formula 86 return $formula
87} 87}
88sub recursiveUnion { 88sub recursiveUnion {
89 my $formula = shift; my $right = pop(@_); 89 my $formula = shift; my $right = pop(@_);
90 return $right if (scalar(@_) == 0); 90 return $right if (scalar(@_) == 0);
91 return $formula->{context}{parser}{BOP}->
92 new($formula,'U',recursiveUnion($formula,@_),$right); 91 return $formula->Item("BOP")->new($formula,'U',recursiveUnion($formula,@_),$right);
93} 92}
94 93
95# 94#
96# Try to promote arbitrary data to a set 95# Try to promote arbitrary data to a set
97# 96#

Legend:
Removed from v.5000  
changed lines
  Added in v.5001

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9