Sha256: e95075ab10391a4e82500d2c1679cdd939e84e92ad9877d41e0c75a679eedb52

Contents?: true

Size: 582 Bytes

Versions: 4

Compression:

Stored size: 582 Bytes

Contents

.@ PackageName :: "MakePair"

Rule Main
  input '*.i'.all
  output '*.pair'.all
Flow
  rule SuccessorPair
  rule PermutationPair
  rule CombinationPair
End

Rule SuccessorPair
  input '*.i'
  input '*.i'
  output 'succ-{$I[1][1]}-{$I[2][1]}.pair'.touch
  constraint ($I[1][1].i + 1) == $I[2][1].i
End

Rule PermutationPair
  input '*.i'
  input '*.i'
  output 'perm-{$I[1][1]}-{$I[2][1]}.pair'.touch
  constraint $I[1][1].i != $I[2][1].i
End

Rule CombinationPair
  input '*.i'
  input '*.i'
  output 'comb-{$I[1][1]}-{$I[2][1]}.pair'.touch
  constraint $I[1][1].i < $I[2][1].i
End

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pione-0.4.2 example/MakePair/MakePair.pione
pione-0.4.1 example/MakePair/MakePair.pione
pione-0.4.0 example/MakePair/MakePair.pione
pione-0.3.2 example/MakePair/MakePair.pione