Skip to content

Commit 5549909

Browse files
Update FareySequencesModule.hs
1 parent a77789c commit 5549909

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/FareySequencesModule.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ predecessorOfPairOfNeighborsInFm ::
624624
predecessorOfPairOfNeighborsInFm m (successor, rightNeighborOfSuccessor) checkPair
625625
-- If checkPair == True, then to check whether the input pair is indeed a pair of neighboring fractions in the sequence Fm
626626
| m < 1 = -1 % 1 -- "N/A: Order m of the sequence should be > 0"
627-
| successor >= rightNeighborOfSuccessor = -1 % 2 -- "N/A We should have successor < rightNeighborOfSuccessor"
627+
| successor >= rightNeighborOfSuccessor = -1 % 2 -- "N/A: We should have successor < rightNeighborOfSuccessor"
628628
| successor <= 0 % 1 || successor >= 1 % 1 = -1 % 3 --"N/A: successor should be between (0 % 1) (excluded) and (1 % 1) (excluded)"
629629
| denominator successor > m = -1 % 4 --"N/A: Denominator of the successor should not exceed the order m of the sequence"
630630
| rightNeighborOfSuccessor > 1 % 1 = -1 % 5 --"N/A: rightNeighborOfSuccessor should be between successor (excluded) and (1 % 1) (included)"
@@ -684,7 +684,7 @@ predecessorOfPairOfNeighborsInFml m l (successor, rightNeighborOfSuccessor) chec
684684
-- If checkPair == True, then to check whether the input pair is indeed a pair of neighboring fractions in the sequence Fml
685685
| m < 2 = -1 % 1 -- "N/A: Parameter m of the sequence should be > 1"
686686
| l <= 0 || l >= m = -1 % 2 --"N/A: Parameter l should be between 0 (excluded) and m (excluded)"
687-
| successor >= rightNeighborOfSuccessor = -1 % 3 -- "N/A We should have successor < rightNeighborOfSuccessor"
687+
| successor >= rightNeighborOfSuccessor = -1 % 3 -- "N/A: We should have successor < rightNeighborOfSuccessor"
688688
| successor <= 0 % 1 || successor > 1 % 1 = -1 % 4 --"N/A: successor should be between (0 % 1) (excluded) and (1 % 1) (included)"
689689
| denominator successor > m = -1 % 5 --"N/A: Denominator of the successor should not exceed the parameter m of the sequence"
690690
| l < numerator successor = -1 % 6 --"N/A: Numerator of the successor should be between 1 (included) and l (included)"
@@ -770,7 +770,7 @@ predecessorOfPairOfNeighborsInGml m l (successor, rightNeighborOfSuccessor) chec
770770
-- If checkPair == True, then to check whether the input pair is indeed a pair of neighboring fractions in the sequence Gml
771771
| m < 2 = -1 % 1 -- "N/A: Parameter m of the sequence should be > 1"
772772
| l <= 0 || l >= m = -1 % 2 --"N/A: Parameter l should be between 0 (excluded) and m (excluded)"
773-
| successor >= rightNeighborOfSuccessor = -1 % 3 -- "N/A We should have successor < rightNeighborOfSuccessor"
773+
| successor >= rightNeighborOfSuccessor = -1 % 3 -- "N/A: We should have successor < rightNeighborOfSuccessor"
774774
| successor <= 0 % 1 || successor > 1 % 1 = -1 % 4 --"N/A: successor should be between (0 % 1) (excluded) and (1 % 1) (included)"
775775
| denominator successor > m = -1 % 5 --"N/A: Denominator of the successor should not exceed the parameter m of the sequence"
776776
| l + denominator successor - m > numerator successor = -1 % 6 --"N/A: The quantity (l + denominator - m) should not exceed the numerator of the successor"
@@ -864,7 +864,7 @@ predecessorOfPairOfNeighborsInFBnm n m (successor, rightNeighborOfSuccessor) che
864864
-- If checkPair == True, then to check whether the input pair is indeed a pair of neighboring fractions in the sequence FBnm
865865
| n < 2 = -1 % 1 -- "N/A: Parameter n of the sequence should be > 1"
866866
| m < 1 || m >= n = -1 % 2 -- "N/A: Parameter m of the sequence should be between 0 (excluded) and n (excluded)"
867-
| successor >= rightNeighborOfSuccessor = -1 % 3 -- "N/A We should have successor < rightNeighborOfSuccessor"
867+
| successor >= rightNeighborOfSuccessor = -1 % 3 -- "N/A: We should have successor < rightNeighborOfSuccessor"
868868
| successor <= 0 % 1 || successor >= 1 % 1 = -1 % 4 --"N/A: successor should be between (0 % 1) (excluded) and (1 % 1) (excluded)"
869869
| denominator successor > n = -1 % 5 --"N/A: Denominator of the successor should not exceed n"
870870
| m + denominator successor - n > numerator successor ||

0 commit comments

Comments
 (0)