Sha256: 37e0e380d7d3fb8d9750867c0ad871c279b96dfcb8bef33c54072acfd62588be

Contents?: true

Size: 280 Bytes

Versions: 8

Compression:

Stored size: 280 Bytes

Contents

#!/usr/bin/env alf
# Give all suppliers, except those living in Paris
(minus suppliers, 
       (restrict suppliers, lambda{ city == 'Paris' }))

# This is a contrived example for illustrating minus, as the
# following is equivalent
(restrict suppliers, lambda{ city != 'Paris' })

Version data entries

8 entries across 8 versions & 1 rubygems

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