module Music.Theory.Z.Rahn_1980 where
import qualified Music.Theory.Z.Forte_1973 as Forte_1973
import Music.Theory.Z
rahn_cmp :: Ord a => [a] -> [a] -> Ordering
rahn_cmp :: forall a. Ord a => [a] -> [a] -> Ordering
rahn_cmp [a]
p [a]
q = forall a. Ord a => a -> a -> Ordering
compare (forall a. [a] -> [a]
reverse [a]
p) (forall a. [a] -> [a]
reverse [a]
q)
z_rahn_prime :: Integral i => Z i -> [i] -> [i]
z_rahn_prime :: forall i. Integral i => Z i -> [i] -> [i]
z_rahn_prime Z i
z = forall i.
Integral i =>
Z i -> ([i] -> [i] -> Ordering) -> [i] -> [i]
Forte_1973.z_ti_cmp_prime Z i
z forall a. Ord a => [a] -> [a] -> Ordering
rahn_cmp
rahn_forte_diff :: Num n => [[n]]
rahn_forte_diff :: forall n. Num n => [[n]]
rahn_forte_diff =
[[n
0,n
1,n
3,n
7,n
8]
,[n
0,n
1,n
3,n
5,n
8,n
9],[n
0,n
1,n
3,n
6,n
8,n
9]
,[n
0,n
1,n
2,n
4,n
7,n
8,n
9],[n
0,n
1,n
2,n
3,n
5,n
8,n
9]
,[n
0,n
1,n
2,n
4,n
5,n
7,n
9,n
10]
]