Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Rq
values with tie right qualifier.
Synopsis
- type Tied_Right = Bool
- type Rq_Tied = (Rq, Tied_Right)
- rqt_to_rq :: Rq_Tied -> Maybe Rq
- rqt_to_rq_err :: Rq_Tied -> Rq
- rqt :: Tied_Right -> Rq -> Rq_Tied
- rqt_rq :: Rq_Tied -> Rq
- rqt_tied :: Rq_Tied -> Tied_Right
- is_tied_right :: Rq_Tied -> Bool
- rqt_un_tuplet :: (Integer, Integer) -> Rq_Tied -> Rq_Tied
- rq_rqt :: Rq -> Rq_Tied
- rq_tie_last :: [Rq] -> [Rq_Tied]
- rqt_to_duration_a :: Bool -> [Rq_Tied] -> [Duration_A]
- rqt_can_notate :: Dots -> [Rq_Tied] -> Bool
- rqt_to_cmn :: Rq_Tied -> Maybe (Rq_Tied, Rq_Tied)
- rqt_to_cmn_l :: Rq_Tied -> [Rq_Tied]
- rqt_set_to_cmn :: [Rq_Tied] -> [Rq_Tied]
Documentation
type Tied_Right = Bool Source #
Boolean.
rqt_to_rq_err :: Rq_Tied -> Rq Source #
Erroring variant of rqt_to_rq.
rqt_un_tuplet :: (Integer, Integer) -> Rq_Tied -> Rq_Tied Source #
Rq_Tied
variant of rq_un_tuplet
.
rqt_un_tuplet (3,2) (1,T) == (3/2,T)
let f = rqt_un_tuplet (7,4) in map f [(2/7,F),(4/7,T),(1/7,F)] == [(1/2,F),(1,T),(1/4,F)]
rq_tie_last :: [Rq] -> [Rq_Tied] Source #
Tie last element only of list of Rq
.
rq_tie_last [1,2,3] == [(1,F),(2,F),(3,T)]
rqt_to_duration_a :: Bool -> [Rq_Tied] -> [Duration_A] Source #
Transform a list of Rq_Tied
to a list of Duration_A
. The flag
indicates if the initial value is tied left.
rqt_to_duration_a False [(1,T),(1/4,T),(3/4,F)]
rqt_can_notate :: Dots -> [Rq_Tied] -> Bool Source #
Rq_Tied
variant of rq_can_notate
.
rqt_to_cmn_l :: Rq_Tied -> [Rq_Tied] Source #
List variant of rqt_to_cmn
.
rqt_to_cmn_l (5,T) == [(4,T),(1,T)]
rqt_set_to_cmn :: [Rq_Tied] -> [Rq_Tied] Source #
rqt_set_to_cmn [(1,T),(5/4,F)] == [(1,T),(1,T),(1/4,F)] rqt_set_to_cmn [(1/5,True),(1/20,False),(1/2,False),(1/4,True)]