Sha256: df5383c520ba2bfb16f3635ce8a3b41e82c63d3823b181e3c637612944fdb71d

Contents?: true

Size: 552 Bytes

Versions: 6

Compression:

Stored size: 552 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
pione-0.3.1 example/MakePair/MakePair.pione
pione-0.3.0 example/MakePair/MakePair.pione
pione-0.2.2 example/MakePair/MakePair.pione
pione-0.2.1 example/MakePair/MakePair.pione
pione-0.2.0 example/MakePair/MakePair.pione
pione-0.1.4 example/MakePair/MakePair.pione