Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Solkattu.Part

Synopsis

Documentation

data Part Source #

Constructors

K !Korvai.Korvai !Index 
Comment !Text 

Instances

Instances details
Eq Part # 
Instance details

Defined in Solkattu.Part

Methods

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

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

Show Part # 
Instance details

Defined in Solkattu.Part

Methods

showsPrec :: Int -> Part -> ShowS #

show :: Part -> String #

showList :: [Part] -> ShowS #

data Index Source #

The indices start at 1, since the section display also does.

Constructors

All 
Index !Int 
Range !Int !Int 

Instances

Instances details
Eq Index # 
Instance details

Defined in Solkattu.Part

Methods

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

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

Num Index # 
Instance details

Defined in Solkattu.Part

Show Index # 
Instance details

Defined in Solkattu.Part

Methods

showsPrec :: Int -> Index -> ShowS #

show :: Index -> String #

showList :: [Index] -> ShowS #

realizeParts :: (Korvai.Korvai -> IO ()) -> [Part] -> IO () Source #