HSoM-1.0.0: Library for computer music education

Safe HaskellNone
LanguageHaskell98

HSoM.Examples.IntervalTrainer

Documentation

main :: IO () Source #

data State Source #

Constructors

Start 
Base 
Guessed 

Instances

Eq State Source # 

Methods

(==) :: State -> State -> Bool #

(/=) :: State -> State -> Bool #

Ord State Source # 

Methods

compare :: State -> State -> Ordering #

(<) :: State -> State -> Bool #

(<=) :: State -> State -> Bool #

(>) :: State -> State -> Bool #

(>=) :: State -> State -> Bool #

max :: State -> State -> State #

min :: State -> State -> State #

Show State Source # 

Methods

showsPrec :: Int -> State -> ShowS #

show :: State -> String #

showList :: [State] -> ShowS #

shiSlider :: Integral b => b -> (b, b) -> b -> UISF () b Source #

sButton :: UITexty s => s -> UISF () Bool Source #

mkNote :: Int -> ((Int, Int), (Int, Int)) -> [MidiMessage] Source #

(=>>) :: SEvent a -> (a -> b) -> SEvent b Source #

(->>) :: SEvent a -> b -> SEvent b Source #

(.|.) :: SEvent a -> SEvent a -> SEvent a Source #

snapshot :: SEvent a -> b -> SEvent (a, b) Source #

snapshot_ :: SEvent a -> b -> SEvent b Source #