Sha256: c5db06e853a61b2915d218a6feffa47f3ae6fa15c033a4e1fa9ae28db55c8f62

Contents?: true

Size: 272 Bytes

Versions: 8

Compression:

Stored size: 272 Bytes

Contents

kept_suppliers = (restrict suppliers, lambda{ status > 10 })
with_countries = (join kept_suppliers, cities)
supplying      = (join with_countries, supplies)
(summarize supplying,
           [:country],
           :which => collect{ pid },
           :total => sum{ qty })

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
alf-core-0.16.3 examples/operators/pseudo-with.alf
alf-core-0.16.2 examples/operators/pseudo-with.alf
alf-core-0.16.1 examples/operators/pseudo-with.alf
alf-core-0.16.0 examples/operators/pseudo-with.alf
alf-core-0.15.0 examples/operators/pseudo-with.alf
alf-core-0.14.0 examples/operators/pseudo-with.alf
alf-core-0.13.1 examples/operators/pseudo-with.alf
alf-core-0.13.0 examples/operators/pseudo-with.alf