Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Derive.Solkattu.Dsl

Contents

Description

Provide short names and operators for writing korvais in haskell. This module is the shared global namespace between Derive.Solkattu.SolkattuGlobal and Derive.Solkattu.MridangamGlobal.

Synopsis

Documentation

(.) :: Monoid a => a -> a -> a infixr 6 Source #

Combine Sequences. This is just another name for (<>).

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

Composition is still useful though.

ø :: Monoid a => a Source #

Synonym for mempty. Opt-o on OS X. It looks a little bit nicer when the empty case takes less horizontal space than the non-empty case.

karvai :: (CallStack.Stack, Pretty stroke) => Sequence stroke -> Sequence stroke Source #

Make a single sollu Solkattu.Karvai.

directives

(!) :: (CallStack.Stack, Pretty stroke, Korvai.ToStroke stroke) => Sequence Korvai.Stroke -> stroke -> Sequence Korvai.Stroke Source #

Add a specific stroke annotation to a sollu.

If e.g. mridangam strokes are "imported" via Strokes {..} = ..., then just sollu ! d works. For non-imported, it would have to be sollu ! d + K.p.

(<+>) :: (Korvai.ToStroke a, Korvai.ToStroke b) => a -> b -> Korvai.Stroke Source #

Combine strokes from different instruments.

hv :: (Pretty stroke, CallStack.Stack) => S.Note (Realize.Note stroke) -> S.Note (Realize.Note stroke) Source #

lt :: (Pretty stroke, CallStack.Stack) => S.Note (Realize.Note stroke) -> S.Note (Realize.Note stroke) Source #

akshara :: Tala.Akshara -> Sequence stroke Source #

sam :: Sequence stroke Source #

Align at sam.

(^) :: (CallStack.Stack, Pretty stroke) => Int -> Sequence stroke -> Sequence stroke infix 9 Source #

Infix operator to Solkattu.Tag all of the sollus it applies to.

§ :: Sequence stroke -> Tala.Akshara -> Sequence stroke infix 9 Source #

Align at the given akshara. I use § because I don't use it so often, and it's opt-6 on OS X.

patterns

pat :: S.Matra -> Sequence stroke Source #

p5 :: Sequence stroke Source #

p6 :: Sequence stroke Source #

p7 :: Sequence stroke Source #

p8 :: Sequence stroke Source #

p9 :: Sequence stroke Source #

p666 :: Sequence stroke -> Sequence stroke Source #

p567 :: Sequence stroke -> Sequence stroke Source #

p765 :: Sequence stroke -> Sequence stroke Source #

nakatiku :: Sequence stroke Source #

tk :: Sequence stroke Source #

tknk :: Sequence stroke Source #

re-exports

mridangam

stroke :: (CallStack.Stack, Pretty stroke, Korvai.ToStroke stroke) => stroke -> Sequence Korvai.Stroke -> Sequence Korvai.Stroke Source #

Add a specific stroke annotation to a sollu.

misc

pprint :: Pretty a => a -> IO () Source #

realize

conveniences